Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2010, 06:40 PM
WalterinOz WalterinOz is offline Windows Vista Office 2007
Novice
Dynamic footer
 
Join Date: Feb 2010
Posts: 1
WalterinOz is on a distinguished road
Default Dynamic footer

Is it possible to create a footer in Word (2007) with 3 fields that are dynamic?



What I am trying to do is have a line that says:

Printed by "username" on "date"
Document is valid for 3 days, please dstroy after "date +3".

I have no experience in this area so please be kind and explain what code needs to go where.
Just to clarify a bit further, I already have a date and a username field that display the correct name and date, but those fields don't automatically update to the current values when someone else opens the document. They'll have to do a print preview first which appears to be one step too many for most to remember! The "date +3" field I can't get to work in Word.


thank you for your help,
Walter

Last edited by WalterinOz; 10-28-2010 at 08:25 PM.
Reply With Quote
  #2  
Old 12-22-2010, 11:08 PM
macropod's Avatar
macropod macropod is offline Dynamic footer Windows 7 32bit Dynamic footer Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Walter,

The fields will update at print time, even if a preview hasn't been done, provided Word's 'Update fields before printing' option is checked.

As for the destruction date, the coding for that is considerably more complex. To see how to do it, check out my Microsoft Word Date Calculation Tutorial, at:
http://lounge.windowssecrets.com/index.php?showtopic=249902
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the item titled 'Calculate a day, date, month and year, using n days delay'. Do read the document's introductory material.

Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
A dynamic date to show up on the last page only jackaroo Word 1 08-18-2010 01:26 PM
Dynamic Named Ranges using text hannu Excel 0 06-22-2010 04:42 PM
Dynamic footer Dynamic alignment? Corporem Word 1 05-20-2010 10:55 AM
Dynamic footer Dynamic Charts... herbycanopy Excel 3 04-09-2010 05:58 PM
Identifying the Dynamic Connector cyberbhai Misc 0 12-14-2005 03:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft