Carriage Return

R

Rita

I've used Chr(13) & Chr(10) for envelopes to combine two lines of an address
(checking to see if there is a send line first).

I have a number of fields and the information varies greatly. I thought I
could just combine the following for a neater report. This does work, but I
would like a double space between fields. I tried just adding
&Chr(13)&Chr(10)&Chr(10), and that seemed to work, except I get a square box
displaying?

THANKS!

="Instructional: " & [Tips Instructional] & Chr(13) & Chr(10) & "Vocational:
" & [Tips Vocational] & Chr(13) & Chr(10) & "Behavioral: " & [Tips
Behavioral] & Chr(13) & Chr(10) & "Medical: " & [Tips Medical] & Chr(13) &
Chr(10) & "Dietary: " & [Tips Dietary] & Chr(13) & Chr(10) & "Personal Care:
" & [Tips Personal Care] & Chr(13) & Chr(10) & "Comments: " & [Tips Comments]
 
A

Allen Browne

You forgot the 2nd Chr(13):

="something" & Chr(13) & Chr(10) & Chr(13) & Chr(10) & ...
 
R

Rita

Thank you so much!

Allen Browne said:
You forgot the 2nd Chr(13):

="something" & Chr(13) & Chr(10) & Chr(13) & Chr(10) & ...

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

Rita said:
I've used Chr(13) & Chr(10) for envelopes to combine two lines of an
address
(checking to see if there is a send line first).

I have a number of fields and the information varies greatly. I thought I
could just combine the following for a neater report. This does work, but
I
would like a double space between fields. I tried just adding
&Chr(13)&Chr(10)&Chr(10), and that seemed to work, except I get a square
box
displaying?

THANKS!

="Instructional: " & [Tips Instructional] & Chr(13) & Chr(10) &
"Vocational:
" & [Tips Vocational] & Chr(13) & Chr(10) & "Behavioral: " & [Tips
Behavioral] & Chr(13) & Chr(10) & "Medical: " & [Tips Medical] & Chr(13) &
Chr(10) & "Dietary: " & [Tips Dietary] & Chr(13) & Chr(10) & "Personal
Care:
" & [Tips Personal Care] & Chr(13) & Chr(10) & "Comments: " & [Tips
Comments]
 

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

Top