Report Message CHAT now! Back Home
 

image

saving normal dot
[ Post a Reply ] [ View Follow Ups ] [ Main Board ]

Posted By: TheMacroDiva on 2008-08-26
In Reply to: you must say YES to saving the global template when you exit Word each day. sm - desertfox

Problem is with some of the proprietary software created by some MTSOs, the normal dot still will not save even when you have the prompt, all you get is a message that normal dot is open elsewhere or some such nonsense, and then you are offered the opportunity to save normal.dot by another name, and even then it still won't save.


I posted earlier an autoclose macro that may solve this problem; however, it probably would be a good idea to also use an autoexit macro as well to cover all bases and I will post both here. 


If that does not work for you, I do have another work-around but it is a lot more complicated.  You can solve part of the problem by attaching and add-in your own templates, and save your macros and your autotext there instead of normal dot, but autocorrect is saved in normal dot, and you have to save your normal dot to save your autocorrect:


So try these macros;  cut and paste into your macro editor:


Sub AutoClose()
On Error GoTo ErrorHandler:
If NormalTemplate.Saved = False Then NormalTemplate.Save
MSGBOX "Normal template is saved
    Exit Sub
ErrorHandler:
MSGBOX "Normal template is not saved
End Sub


Sub AutoExit()
On Error GoTo ErrorHandler:
If NormalTemplate.Saved = False Then NormalTemplate.Save
MSGBOX "Normal template is saved
    Exit Sub
ErrorHandler:
MSGBOX "Normal template is not saved
End Sub


If everything is saving as it should, then you can just delete the line of code that has the msgbox so that word just closes without having to click okay. Write me if you need some help doing this.



Reply By E-mail || Post QUICK reply        [ See Related Messages ]    [Vote/Moderate]





Follow-ups:
      




Latest Messages


SEE MORE....
image