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

script for paragraph editing

Status
Not open for further replies.

ilink

Technical User
Nov 2, 2005
1
US
I am new to scripting, and I have been unable to create a script to do the following.

I want the script to find a key word (Concept e.g.) then change the paragraph style to a style already in the styles pallett. This could be in a document over a thousand times. Then I want it to find another key word and change the paragraph style to a different style. There are six different key word/style changes for the document. I will be doing this for several dozen documents that have the exact same key word and formatting needs.

Is this possible? From reading the script guide it seems possible, but I don't understand everything I need to do. I've tried using loop end loop, find, findnext, styles. I don't understand how to structure a script using changeall. Can anyone point me in the right direction?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top