Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by VBAWillow

  1. VBAWillow

    Running VBA when Word Starts

    Thanks Tony, Using your suggestion I found this article at http://word.mvps.org/FAQs/MacrosVBA/PseudoAutoMacros.htm which worked: ----------------------------------------------------------- Using Word 97 If you create a DocumentChange event and store it in an Addin, it will be triggered when...
  2. VBAWillow

    Edit Header in word using code

    As far as I know any settings on the header would be carried over to all following pages. Could you not trap the save commands, run a piece of code to check the number of pages and re-write the header and footer accordingly? e.g. Sub FileSave() 'On save check number of pages If...
  3. VBAWillow

    Edit Header in word using code

    You need to write the header and footer for the rest of the document first and then set the 'File / Page Setup / Layout / Different first page' check box. (The VBA for which is ActiveDocument.PageSetup.DifferentFirstPageHeaderFooter = True) Then go back and write the header and footer for...
  4. VBAWillow

    Running VBA when Word Starts

    I have modified Normal.dot to add a footer to a new document which works on all occasions except when Word is started. I have some VBA code running when a new document is created but none of the usual Document_Open() or AutoNew() subs seem to work on the blank document that Word gives you when...

Part and Inventory Search

Back
Top