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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word Macro Help 2

Status
Not open for further replies.

valdosta

MIS
Dec 18, 2002
50
US
In word 2002, The replacement for TAB is ^t, for example:
.Replacement.Text = "^t".

Does anyone know what character used for return key in word?

Thank you very much for your great help!
 
Thank you very much for your help.

Here is my second question in word, I have text like in main doc:

CJ*/+(CR)
HS*/+(CR)
PS*/+

How can I change above to below using macro after mail merge?

CJ(TAB)HS(TAB)PS

The CR in word looks like the figure in keybord return key.

Appreciate your help!
 
If the asterisk, slash and plus are literals then using

Replace: */+^l
with: ^t

should work
 
plantj, Thanks for giving me a free weekend! The solution you gave to me worked! Now I know the return key is ^l.

Thanks again and Have a great weekend!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top