Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Jul 2010
    Location
    vancouver,Bc, Canada
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Automatically inserting a Footer

    Hello,
    is it possible to have Word automatically insert a footer every time a file/document is saved for the first time

    using Office 2003 Pro
    Win XP
    thank you
    H

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    It's not a feature of Word, but you can do it with VBA code (either a global template or a COM Add-in).

    Your code either could hijack the FileSaveAs command, or you could hook into the Application.DocumentBeforeSave event, and then insert text/fields into the footer or at the end of the document, if it only needs to appear there.

    Depending on the content of the footer, you might be able to add it to your document template so it exists from the moment of creation. No VBA code required.

  3. #3
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts
    A simple way to get a footer in your documents is to create a template that has the footer you want. Use that template to create your new documents. Do NOT make this change to normal.dot.

    Word has powerful fields that can make your footers fit your documents. These include: styleref, createdate.

    See http:\\addbalance.com\usersguide\templates.htm and http:\\addbalance.com\usersguide\fields.htm.

    If you need to write a macro (vba) try making your footer an AutoText entry. Then record a macro inserting that autotext into a footer and attach it to a keyboard shortcut. That way you can modify your footer by changing the autotext rather than the macro.
    Last edited by Charles Kenyon; 2011-08-17 at 18:39. Reason: add warning about normal.dot
    Charles Kyle Kenyon
    Madison, Wisconsin

  4. #4
    4 Star Lounger
    Join Date
    Jan 2010
    Location
    Chichester, UK
    Posts
    401
    Thanks
    1
    Thanked 10 Times in 9 Posts
    And note that if you want the filename/path entered into the footer, it can be done with fields in the template but will not appear until after you have saved for the first time because it won't know the filename or location! As CK says above, don't do this to normal template; create your own template for this.

    If you always want to use this template, then create a shortcut to launch Word using the template. The simplest way is to 'send' a copy of the template from Windows Explorer to your desktop. The default action for double-clicking a template is to open a new document based on that template.


  5. #5
    New Lounger
    Join Date
    Jul 2010
    Location
    vancouver,Bc, Canada
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you all very much,
    very technical. however,
    I will try and see where I end up.
    thanks again
    H

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •