vba help

K

KP

Hi ,
It's been over 3 years that I have seen vba word macro code and i need
someone's help in writing code for the following

//2 This should be bold //1 this should be 10 font size //L this should be
14 font size

I need to write vba code in word to go thru the above line and based on the
"//" code do the formatting.

so when it is in beginning, the code is //2, then it should find the next //
code, which is //1, after it finds // everything between the first and next
// code be formatted based on code . The text between //2 and //1 should be
bold, text between //1 and //L should be font size 10, text between //l and
end of line sould be font size 14.

Can someone help me with this?

Your help is greatly appreciated.

Thank you.

KP
 
L

Lesley Regan

Hi, KP,

One way is written out in a post in this newsgroup from 11/13/04 -- Bold
Formatting.
Regards,

Lesley Regan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top