Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Line in Calculated TextBox

Status
Not open for further replies.

DeanWilliams

Programmer
Feb 26, 2003
236
GB
Hi,

I have a TextBox that I want to put a 2 line Calculation in:
ControlSource:

=[Imperial] & "ft²" & Chr(13) & Format([Imperial]*0.0929,"Fixed") & "m²"


It shows up as that square symbol instead of a new line. How can I do what I want? I have tried using vbCr and Chr(10).

None work.

Thanks in advance,
Dean.
 
Try using the symbolic constant: vbCrLf

Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
I think if you try both chr(13) and chr(10), you need both, and in that order for controlsources.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top