1) If you hardcode the value of a text box in design view, you can force the value onto two lines. You just use ctrl + enter to force it. For example, ="a b" will display
a
b
*IF* you put a ctrl + enter between the two letters manually.
2) After some experimentation, I found that that key is chr(13).
3) I have a function that returns a text string. I want the text string to include a carriage return. This is the last line of my function...
makeHeader = myWeekday & "," & Chr(13) & myFullDate
That SHOULD work. Unfortunately it just puts a black line on the screen at the chr(13) position.
Please advise.
a
b
*IF* you put a ctrl + enter between the two letters manually.
2) After some experimentation, I found that that key is chr(13).
3) I have a function that returns a text string. I want the text string to include a carriage return. This is the last line of my function...
makeHeader = myWeekday & "," & Chr(13) & myFullDate
That SHOULD work. Unfortunately it just puts a black line on the screen at the chr(13) position.
Please advise.