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

MS Word Document VBA - Document search to make RTF files.

Status
Not open for further replies.

clifftech

ISP
Nov 9, 2001
111
US
I am fairly new to VBA and am trying to figure out if it is possible to take a single large MS Word document and break it down into numerous rtf documents. I need to have the code look at each paragraph and where the paragraph starts with “%#*” it copies all the subsequent paragraphs (including the “%#*” paragraph) until it finds the next paragraph that begins with “%#*” then takes what is copied and makes it into a new rtf file. The new rtf file then needs to be named and saved based on a string of characters found within the copied “%#*” paragraph. (The string of characters represents a last name that is always located at the same location within the “%#*” paragraph.

I know this is a tall order for a VBA newbie so any advice on how to get started on this would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top