new line

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to get a new line into the Control Source of a form control? I
know I can use vbCrLf in vba code, but I was hoping to code it directly in
the textbox control source.
 
smk23 said:
Is there a way to get a new line into the Control Source of a form
control? I know I can use vbCrLf in vba code, but I was hoping to
code it directly in the textbox control source.

="some text" & Chr(13) & Chr(10) & "some more text"
 
I'm getting a couple of boxes in my display where the Chr(13) and Chr(10) are.

some text | | some more text
 
You sure you've got Chr(13) & Chr(10) in that order: that you haven't
reversed them as Chr(10) & Chr(13)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top