如何從多個單元格中創建文本框mulitiple srtings的值?

[英]How can I make the value of a textbox mulitiple srtings from multiple cells?


How can I format this correctly. I might be really confused but I just can't remember how I had done this in the past.

我該如何正確格式化。我可能真的很困惑,但我不記得過去我是怎么做到的。

FndRng.Offset(0, 10).Value = cboStatus.Value&" "&txtDateOfDeparture.Value&" "&through&" "&txtDateOfReturn

Thank you!

2 个解决方案

#1


2  

Put space between & and anything else:

在和之間放置空格:

FndRng.Offset(0, 10).Value = cboStatus.Value & " " & txtDateOfDeparture.Value & " " & through & " " & txtDateOfReturn

#2


1  

You miss spaces

你錯過了空間

FndRng.Offset(0, 10).Value = cboStatus.Value & " " & txtDateOfDeparture.Value & " " & through & " " & txtDateOfReturn

FndRng.Offset(0,10).Value = cboStatus.Value&“”&txtDateOfDeparture.Value&“”&through&“”&txtDateOfReturn


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2017/07/11/725c9367cc45313c4cb002b9accb271.html



 
粤ICP备14056181号  © 2014-2021 ITdaan.com