View Single Post
 
Old 01-04-2012, 09:01 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,514
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Jana View Post
Please i see that this macro works fine with the predifined styles of word. But i have another style names as you see from the document i will attach to you. Is there any option without change this macro to make work for this styles.
Yes, it can be made to work with other Styles, but that takes more work - and you will have to tell it what the:
a) main Style is (to attach the text to); and
b) sub Style is (to attach to the main Style).
There may be problems, though, if the code should not include sub Styles if they occur after some other Style that is not the main Style. Let me see what I can do.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote