Yes I have. It is simple as you would imagine:
Selection.Style = ActiveDocument.Styles("Appendix 2")
But for some reason I never get the Appendix 2 style when the doc is generated.
At one point I thought I found the answer when I realized the Appendix 2 style is based on Normal, Body 1 word...
Hi All,
Using WIndows 2000 with Word 2002.
We have a vba app that autogenerates a word doc. The app assumes all the heading styles in the doc will be Heading 1-9 (the default word headings). This is fine except when we generate the toc we want there to be an appendix section. I have changed the...
I am a newbie to VBA and need to know if I can have a macro launch from an event. Specifically when a user gets ready to close a document can I somehow automatically have a macro run against that doc before it closes?
Hello,
I am a new developer who has been asked to support some VBA code written to automate document generation through a case tool, and I have a question.
When generating the document the user may have the option to pick a config file if more than one config file is associated with the...
I have created a word template (.dot) with some vba code in it. The template references two other templates (.dot files). But when in I look in the VB editor (under the References Folder in the Project window or in the Tools\References pull down menu)only one of the referenced files is reflected...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.