View Single Post
  #2   Report Post  
Shauna Kelly
 
Posts: n/a
Default

Hi Randy

Where did you save the macro? If you didn't specify where to save it, Word
will save it in normal.dot. When you exit Word, Word should save normal.dot,
and your changes with it. It will do so silently, unless you have ticked the
box at Tools Options Save Prompt to save Normal template.

So, to test what's going on, I would do the following. Use Tools Options
File Locations and identify the folder shown there as User Templates. Use
Windows Explorer to find normal.dot in the folder you identified, and see
what date and time stamp is on that file. In Word, do Tools Options Save
and tick "Prompt to save Normal template" so that you should get a prompt if
Word wants to save changes to normal.dot. In Word, create your macro. Exit
Word. You should get a "do you want to save" prompt. Say yes. Now, back in
Windows Explorer, see if the file date and time has changed to reflect the
save.

The only times I've ever seen this behaviour is when some over-zealous IT
systems administrator has locked out your ability to save normal.dot or
created a process whereby normal.dot is replaced each time you log in to the
network or each time you run Word. It's the IT equivalent of clamping the
wheels on your car. It's not recommended, and it's contrary to the
information provided by Microsoft at http://support.microsoft.com/kb/811468
which says "Word must have full read and write access to the [normal.dot]
file at all times."

By the way, you can insert the date into a document in several ways without
a macro. Try Insert Date and Time. Or, Insert Field and use an
appropriate field. You'll find descriptions of how each of the fields works
in Word's help.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"randy" wrote in message
...
I created and saved a new macro in Word 2003 (to insert the date).
It works fine, I open new documents and it works fine and is listed in the
macro list.
When I close and re-open Word, the macro has disappeared!
I have repeated the process several times with the same result.
Any clues?