![]() |
|
|
|
#1
|
|||
|
|||
|
Make sure the insertion point is at the start of the document.
Turn on the macro recorder. Use the keyboard to navigate to the spot where you want the date. Stop recording Copy that code and paste it into the code you already have. |
|
#2
|
|||
|
|||
|
Okay Kim, just tried that to no effect. Copied and pasted the code as follows:
Sub Macro2() ' ' Macro2 Macro ' Macro recorded 28 September 2010 by Trainee ' Selection.MoveDown Unit:=wdLine, Count:=24 Selection.MoveRight Unit:=wdCharacter, Count:=37 End Sub And pasted that at the start of my existing code. It had no effect whatsoever, the document still opened at the very beginning, and that's where the date is inserted as well. |
|
| Tags |
| calculated dates, fields, macros |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Finding the difference of two dates based on criterion. | aligahk06 | Excel | 0 | 04-27-2010 12:12 AM |
Searching dates to create lists
|
brianh | Excel | 2 | 01-18-2010 01:58 PM |
MS Excel 2004 for Mac - copying dates between documents
|
BCRenton | Excel | 4 | 11-10-2009 07:28 AM |
| Using calculated field - WHY IS IT SO COMPLICATED? | Riorin | Word | 0 | 10-30-2009 12:20 PM |
| Adding dates | mkkram | Word | 0 | 11-27-2006 09:18 AM |