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

Word Macro...

Status
Not open for further replies.

JackHack

Programmer
Oct 5, 2008
3
IN
Hi,

I got to format the document before uploading it to the client...formating the whole doc is very time consuming... Here is the sample of the docu...
------

Operator

[Some Text]

Matt Stand – Investor Relations

[Some Text]

and so on...this type goes on through the end of doc...
--------------

Now what i do with this is i change the formating like this

-------
first the whole document i got to convert it to Arial text and size 12 and of color gray. After this it goes like this

Operator (this whole part i change it to Arial text and size 14, bold and of color dark red)

[Some Text] (no change)

Matt Stand – Investor Relations (this part i got to change it to Arial text and size 14, bold and of color dark red, but only after the hypen the text is italics)

[Some Text]

so this goes on throughout the doc...

---------------

Can someone help me with the VBA coding to make the task simple...hope u guys have understood what i want..thx.
 
Hi JackHack,

I find your post difficult to understand, but it seems to me you could solve part or all of your problem by learning to use paragraph Styles.

Cheers

[MS MVP - Word]
 
Hi Macropod, thx for ur suggestion...let me try it out..got to solve it by doing little R&D... :)

Thx...

JackHack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top