Results 1 to 8 of 8
  1. #1
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Pontiac, Michigan, USA
    Posts
    170
    Thanks
    0
    Thanked 0 Times in 0 Posts
    How do I get Word to automatically update a filename in a footer?

    I have form I use regularly and save and so far I haven't figured out how to get the filename in the footer to change when I change the actual filename.

    I don't have this problem in Excel nor WordPerfect so was surprised to encounter it in Word.

    I prefer this to be done without any extra steps to the user (other than the renaming of the file).

    Thanks!

  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
    [quote name='PontiacPeggy' post='792883' date='10-Sep-2009 12:55']How do I get Word to automatically update a filename in a footer?[/quote]
    In the footer, the {FILENAME} field should update when the user chooses either Print or Print Preview. If that doesn't work, the field may be locked.

    To have the field updated after a Save As, in theory you could "hijack" the the Save As process and tack on a field update. This might be more trouble than it's worth...

  3. #3
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Do a Print Preview and the file name should be updated also.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  4. #4
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Pontiac, Michigan, USA
    Posts
    170
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you both. I'll check that out tomorrow when I'm at work. I thought that when I changed the filename the footer would automatically update. Seems strange to me that it doesn't.

    I do know that it doesn't change when I do a Save As with a new filename, close the file and then re-open it.

    Am I missing something?

  5. #5
    3 Star Lounger
    Join Date
    Apr 2008
    Location
    Northridge, California, USA
    Posts
    230
    Thanks
    1
    Thanked 12 Times in 11 Posts
    Hi, Peggy!

    By now you've seen my post on WPUniverse about inserting your cursor into the code and pressing F9. The code should update, too, when you print the doc, though that depends on your configuration options.

    Jan
    Author, Formatting Legal Documents With Microsoft Word 2016,
    Formatting Legal Documents With Microsoft Word 2010​,
    and Formatting Legal Documents With Microsoft Office Word 2007

    For Word and WordPerfect tips, visit my blog at http://compusavvy.wordpress.com

  6. #6
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Pontiac, Michigan, USA
    Posts
    170
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='janbphd' post='792926' date='10-Sep-2009 21:04']Hi, Peggy!

    By now you've seen my post on WPUniverse about inserting your cursor into the code and pressing F9. The code should update, too, when you print the doc, though that depends on your configuration options.

    Jan[/quote]

    My filename DOES update when I do Print Preview. Is that the ONLY way to get the name to update aside from pressing F9?

    I guess I don't understand why the filename is not updated when I save the file, close it and re-open it.

    But thank you everyone for all your help.

  7. #7
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts
    [quote name='PontiacPeggy' post='792963' date='11-Sep-2009 13:56']I guess I don't understand why the filename is not updated when I save the file, close it and re-open it.[/quote]
    You have entered the filename into the document footer as a field. Word only updates fields when you specifically ask it to, or when you print the document (there are some exceptions to this, see MSKB article 211629).

  8. #8
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Pontiac, Michigan, USA
    Posts
    170
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='StuartR' post='792974' date='11-Sep-2009 09:42']You have entered the filename into the document footer as a field. Word only updates fields when you specifically ask it to, or when you print the document (there are some exceptions to this, see MSKB article 211629).[/quote]

    Thanks. At least I know what to do now. Appreciate it!

Posting Permissions

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