Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2011, 02:54 PM
macropod's Avatar
macropod macropod is offline need help with macro date and time for dispatch sheets Windows 7 32bit need help with macro date and time for dispatch sheets Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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 James,



I see your doument uses one of my date calculations fields as the basis for calculating the date on each page. See:
http://windowssecrets.com/forums/sho...ation-Tutorial
and:
http://www.gmayor.com/downloads.htm#Third_party

Given that you're using a macro to drive the document, the same thing could be done soemwhat more simply in vba. Your document's filesize would also be somewhat smaller too. With either approach, it's also easy enough to modify the code so that the document can be printed on any day of the week.

As for the date & time stamp, I take it that what you're after is the print date & time. Assuming this is to go into the document's page header or footer, it's just a simple matter of inserting a PRINTDATE field there, coded along the lines of:
{PRINTDATE \@ \@ "hh:mm AM/PM 'on' DDDD MMMM DD, YYYY"}
where the field braces (ie '{}') are created via Ctrl-F9.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with macro date and time for dispatch sheets creating macro for biffurcation in sheets according to data. Nirik Excel Programming 8 05-07-2011 05:11 AM
need help with macro date and time for dispatch sheets Date and time calcs excluding non-working hours mrsatchmo Excel 1 01-26-2011 08:50 AM
need help with macro date and time for dispatch sheets Sent emails all have same date/time?? Confused Outlook 3 01-07-2011 07:52 AM
Word 2007 date and time picker dmcohio Word 2 04-09-2010 04:13 AM
Anyway to determine time/date of text creation? pureride Word 1 01-05-2010 02:09 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:19 AM.


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