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

Parse Word document and change format of text using VBA?

Status
Not open for further replies.

dav1dd

IS-IT--Management
Feb 18, 2007
5
US
Hi all;

I have several large Word files that I need to parse, find text string surrounded by quotes, change the format of the text, and then delete the quote marks. Does it matter if the text is in a table?

Example, I want to change the following sentence:
[tab]This should be "bolded and italic" text.
to look like this:
[tab]This should be bolded and italic text.

I'm new to VBA for Word, so I don't even know where or how to start.

Thanks for any and all replies!
 
Okay, so how do I use a macro to go through a whole text document to do what I need to do? The text within the quote marks is not always the same.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top