
Adding code to a MS Word 2000 Header
I would like to include a data range in my MS Word 2000 Header such
as:
< < < Period: May 1, 2003 thru May 7, 2003 > > >
So that that period would show regardless of what day within the
period I ran the report
This is done on an MS Access form as follows:
Using unbound text-boxes on the MS Access form, add the following code
to the two Text-boxes:
StartDate = Date()-Choose(Weekday(Date()),11,12,13,7,8,9,10)
EndDate = Date()-Choose(Weekday(Date()),5,6,7,1,2,3,4)
And the form text would be something like:
FrmText = "Period: "&StartDate&" Thru "&EndDate
How can I add this to a Microsoft Word 2000 Header?
Any help greatly appreciated.
Thanks,
Robbie Bollinger