![]() |
|
#1
|
||||
|
||||
![]()
Hi Umesh,
Since your document comes from another application, you cannot have it automatically do anything when you open it, since it won't contain any macro code. You could have have a Document_Open macro like the one I posted in your Normal template but, as I said, that risks modifying every document you open - unless the document you're interested has something in its name or contents that you can test before doing the processing; in that case, you could add the test code to the macro. Of course, for this to be of any benefit to others, their Normal templates would require the same modification (and they'd also need access to your custom heading Style).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ubns | Word | 3 | 08-01-2012 09:42 PM |
![]() |
TheQueenBea | Word | 3 | 06-05-2012 12:12 PM |
![]() |
TheQueenBea | Word | 1 | 05-31-2012 02:22 PM |
![]() |
Jamal NUMAN | Word | 17 | 06-30-2011 05:47 PM |
How to have this Heading – Table of contents style? | Jamal NUMAN | Word | 0 | 01-13-2011 06:02 PM |