Adding code to a MS Word 2000 Header 
Author Message
 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



Mon, 24 Oct 2005 21:40:52 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Adding VBA to a MS Word 2000 Header -- How To

2. VBA code to add tab to Word 2000

3. MS PJ 2000 and MS Word via VBA

4. VB Code Oracle data source connection (Word 2000 / Query 2000)

5. Outlook 2000 Addin - How to add the header and footer for a print copy

6. Why does this piece of code work with Word 97 but not Word 2000

7. Automatic Headers - Word 2000

8. Convert Word 97 WordBasic to Word 2000 VB code

9. Does Word VBA 2002 developed code run on Word 2000

10. Adjusting headers/footers in a macro in Word 2000

11. Executing MS SQL Server 2000 stored procs via MS Access 2000

12. New XML add-in for MS Excel 2000

 

 
Powered by phpBB® Forum Software