• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 481
  • Last Modified:

Why does my macro in Word 2003 disappear upon estart?

I created a macro "NoFormatPaste" in Word 2003, but every time I close Word and restart it, the macro is gone.  I'm not very well acquainted with macros, so don't have a clue as to what is happening.
0
tiltil
Asked:
tiltil
  • 3
  • 2
1 Solution
 
GrahamSkanRetiredCommented:
Where did you create it?
It is usually in the Normal template, so it sounds as if Word is failing to save the template. This is usually done silently when word closes.

Check the save date of your Normal.dot template. The loaction can be found via Tools/Options/File Locations tab, User templates entry.

Unfortunately the dialogue is not wide enought to show the complete path, so you will have to click Modify... and drill upwards until you can work out the whole thing.

As an alternative you could create some Autotext or a new style in the Normal template and see if they survive between Word sessions.
0
 
tiltilAuthor Commented:
I checked the save date, there is nothing in the user templates entry.  I would assume there is a setting somewhere that needs to be changed.  
Following are the steps I used to create the macro: I went to tools; macro; macros; typed in: No FormatPaste; clicked Create; entered the code: Selection.PasteSpecial DataType:=wdFormtPlainText; then I chose "Close and Return to Microsoft Word" from the File Menu.  I then created a button to run the macro by choosing Tools | Customize, and clicked the Commands Tab.  I selected the new macro from the Commands list box (Normal.NewMacros.NoFormatPaste) and dragged it to the toolbar, then shortened the name by right-clicking on the macro and changing it to "NoFrmatPaste"  Then I closed the Customize dialog box.  Macro works until I close Word.  Upon restart of Word it's no longer there.
Thanks for your help.
0
 
GrahamSkanRetiredCommented:
If there is nothing in the templates folder, then it does sound as if the Normal template isn't being saved.

If there isn't a problem with the folder itself, which you can check by saving something (say a notepad file) into it, then Word is misoperating.

Try these troubleshooting steps (except for the one about renaming the normal template).

http://www.officearticles.com/word/steps_to_troubleshooting_microsoft_word.htm
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
dave608Commented:
When you reopen Word, is it just the button on the toolbar that has disappeared, or has the code also gone?  In other words, if you select Tools/Macro, is the macro still listed or not?
0
 
tiltilAuthor Commented:
The code is gone, too.  It just totally disappears.
0
 
tiltilAuthor Commented:
Thank You so much...I uninstalled Adobe Acrobat, as the article suggested, and have had no problem since.  I went with another PDF application and everything seems to be working fine.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now