Thread: [Solved] Text Spacing in document
View Single Post
 
Old 03-14-2012, 02:35 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by gurp99 View Post
This is the code I have. I have a Update and a Change event. Should I remove the change event?
Yes.
Quote:
and what does vbCr, ", " mean?
As you can see from the code, it's part of a Replace expression:
Replace(txtEnclosureAttached.Text, vbCr, ", ")
which basically says to replace any carriage returns in the 'txtEnclosureAttached.Text' with a comma followed by a space.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote