Change date in header automatically



Sinisa Lopicic
07-09-2005, 11:02 PM
Hi is there easy way in Word 2003 to change date in header
automatically of document when it is printing? Is there are macro for
that or?
Thanks,
Sinisa

Daiya Mitchell
07-09-2005, 11:02 PM
You can put a field in the header, that will update when you print (assuming
in Tools | Options, Print, you checked the box to "update fields" on
printing).

What do you want the date to be? That day? (use a regular Date field) Last
Saved? (use a SaveDate field)


On 5/25/05 12:02 PM, "Sinisa Lopicic" wrote:

> Hi is there easy way in Word 2003 to change date in header
> automatically of document when it is printing? Is there are macro for
> that or?
> Thanks,
> Sinisa

--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: <http://www.word.mvps.org/MacWordNew/>
What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/

MSDN
07-09-2005, 11:02 PM
I have inserted a Field code in the Header of the Word document, and it
works but User has to open document different days and do a print everyday.
They wish to limit their time in doing this.

However the situation is as such.

User has about 15 documents to print, and wants to print these documents in
advance, having future dates on them. Is there a quick macro that can be
setup to print these documents, which will have future dates?? With as
little steps for the User to perform.......

Thks

Sinisa

"Daiya Mitchell" <daiyaNOSPAM@mvps.org.INVALID> wrote in message
news:BEBA1B98.30655%daiyaNOSPAM@mvps.org.INVALID...
> You can put a field in the header, that will update when you print
> (assuming
> in Tools | Options, Print, you checked the box to "update fields" on
> printing).
>
> What do you want the date to be? That day? (use a regular Date field)
> Last
> Saved? (use a SaveDate field)
>
>
> On 5/25/05 12:02 PM, "Sinisa Lopicic" wrote:
>
>> Hi is there easy way in Word 2003 to change date in header
>> automatically of document when it is printing? Is there are macro for
>> that or?
>> Thanks,
>> Sinisa
>
> --
> Daiya Mitchell, MVP Mac/Word
> Word FAQ: http://www.word.mvps.org/
> MacWord Tips: <http://www.word.mvps.org/MacWordNew/>
> What's an MVP? A volunteer! Read the FAQ:
> http://mvp.support.microsoft.com/
>

Doug Robbins
07-09-2005, 11:02 PM
I would use a modification of the technique in the article "Sequentially
numbering multiple copies of single document using
a macro" at:

http://word.mvps.org/FAQs/MacrosVBA/NumberCopiesOf1Doc.htm

so that it makes use of the DateAdd() function to create the dates, probably
setting a Document Variable to the date and having it displayed by use of a
DOCVARIABLE field.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"MSDN" <TheOne@noemail.nospam> wrote in message
news:ej8tzSWYFHA.3040@TK2MSFTNGP14.phx.gbl...
>I have inserted a Field code in the Header of the Word document, and it
>works but User has to open document different days and do a print everyday.
>They wish to limit their time in doing this.
>
> However the situation is as such.
>
> User has about 15 documents to print, and wants to print these documents
> in advance, having future dates on them. Is there a quick macro that can
> be setup to print these documents, which will have future dates?? With as
> little steps for the User to perform.......
>
> Thks
>
> Sinisa
>
> "Daiya Mitchell" <daiyaNOSPAM@mvps.org.INVALID> wrote in message
> news:BEBA1B98.30655%daiyaNOSPAM@mvps.org.INVALID...
>> You can put a field in the header, that will update when you print
>> (assuming
>> in Tools | Options, Print, you checked the box to "update fields" on
>> printing).
>>
>> What do you want the date to be? That day? (use a regular Date field)
>> Last
>> Saved? (use a SaveDate field)
>>
>>
>> On 5/25/05 12:02 PM, "Sinisa Lopicic" wrote:
>>
>>> Hi is there easy way in Word 2003 to change date in header
>>> automatically of document when it is printing? Is there are macro for
>>> that or?
>>> Thanks,
>>> Sinisa
>>
>> --
>> Daiya Mitchell, MVP Mac/Word
>> Word FAQ: http://www.word.mvps.org/
>> MacWord Tips: <http://www.word.mvps.org/MacWordNew/>
>> What's an MVP? A volunteer! Read the FAQ:
>> http://mvp.support.microsoft.com/
>>
>
>


Change date in header automatically