View Single Post
 
Old 01-05-2012, 03:03 AM
Jana Jana is offline Windows 7 32bit Office 2007
Novice
 
Join Date: Dec 2011
Posts: 28
Jana is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
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.
I ve attached the template document with the styles i want to work to the previous reply. If you see the macro dont work with this styles. Even if i try to convert this to Heading 1, Heading 2 and e.t.c But the makro works fine with all predefined styles of word withoun any change. This i want to do, is without anything change the main macro because the previous code was simple and very good to work with this styles
Reply With Quote