Find and Replace with VBA

D

Dave B

Do I need to use vba to do a find and replace if I'm trying to replace the
word "[TAB]" with an actual tab character? In the Replace With box if I
press tab it just goes to the next box (of course). But I want to insert a
tab character...
 
J

Jonathan West

Hi Dave,

Use "^t" to represent a tab in either the .Text or .Replacement.Text
properties

--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
 

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