View Single Post
  #2  
Old April 27th, 2004, 04:00 PM
Charles Kenyon
external usenet poster
 
Posts: n/a
Default Macro to assign styles?

This may be a reason to upgrade to Word 2003. This can be done with a macro,
but what if the formatting misses one of your criteria such as "keep with
next?"

Otherwise, you could use replace to replace the formatting with a style.

--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Stacey" wrote in message
...
Is it possible to write a macro in Word 2000 to assign
styles in a document? For example, if a client gives me an
unformatted document and I want to assign "Header 1" to
every line that's 14pt/all caps/bold italic/12 points
after/keep with next, "Header 2" to every line that's
12pt/u&lc/bold/6 points after, etc., is that possible? Any
tips to automate formatting super-long documents are
helpful. I spend an inordinate amount of time clicking the
cursor on a line and assigning a style...even with a
keyboard shortcut, it takes a long time.