Disable Normal.dot alerts

C

Carey

Let me give you a little background on my issue:

I routinely export .RTF files from another application which are then
converted upon opening in Word. Whenever I open these files and I have

another word document opened, I receive the following notification:
"Word cannot save this file because it is open elsewhere. (C:Documents
and Settings\...\Normal.Dot)" I then have to click OK to get to the
document.


I then copy and paste the info from this RTF into another word
document. Then, when I close the RTF document I receive 4 errors,
which I have to click through: 1) The same error as I when I opened the

file, 2)A Save dialog for the Normal.Dot, which I have to click cancel;

I then have to click the close button again on the active window and
receive error #3, 3)"Changes have been made that affect the global
template, Normal. Do you want to save those changes?"(Yes, No, Cancel),

which I click No; Then it brings up the 4th error, 4) The same error as

when I originally opened the file. When I finally click OK on the last

error it closes the document.


I routinely export numerous documents in this fashion, and as you can
tell, going through these prompts each time is a real time waster (even

though I have got the key strokes down pat).


Can some one please tell me a way in VBA to disable these errors when I

open an RTF file, so that when I click the close button I will not be
prompted with and errors, dialogues, or any other things.


I have searched extenstively through the existing threads and have not
found anything that works.


I am using Word 2003, if that helps.


Thanks in advance,


Carey
 
J

Jean-Guy Marcil

Carey was telling us:
Carey nous racontait que :
Let me give you a little background on my issue:

I routinely export .RTF files from another application which are then
converted upon opening in Word. Whenever I open these files and I
have

another word document opened, I receive the following notification:
"Word cannot save this file because it is open elsewhere. (C:Documents
and Settings\...\Normal.Dot)" I then have to click OK to get to the
document.


I then copy and paste the info from this RTF into another word
document. Then, when I close the RTF document I receive 4 errors,
which I have to click through: 1) The same error as I when I opened
the

file, 2)A Save dialog for the Normal.Dot, which I have to click
cancel;

I then have to click the close button again on the active window and
receive error #3, 3)"Changes have been made that affect the global
template, Normal. Do you want to save those changes?"(Yes, No,
Cancel),

which I click No; Then it brings up the 4th error, 4) The same error
as

when I originally opened the file. When I finally click OK on the
last

error it closes the document.


I routinely export numerous documents in this fashion, and as you can
tell, going through these prompts each time is a real time waster
(even

though I have got the key strokes down pat).


Can some one please tell me a way in VBA to disable these errors when
I

open an RTF file, so that when I click the close button I will not be
prompted with and errors, dialogues, or any other things.


I have searched extenstively through the existing threads and have not
found anything that works.


I am using Word 2003, if that helps.

It seems like there is something seriously wrong with your setup because if
I did what you are doing on my machine, I would not get any of those
messages.

Are you using any VBA to do those conversions? That might be the reason,
something wrong in the code. If so, post the code.

If not, check the names of the documents you are using and the location of
your basic folders (Tools > Options > File Locations)

Make sure that you are not using the folders listed under Workgroup
Templates, User Templates and Start-Up Folder as working folders.
Also, make sure that your Normal.dot is located only in the User Templates
folder.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
C

Carey

Jean,

Thanks for the reply. I do not think it is a problem with the setup of
Word, but rather a problem with the program I am using to export the
RTF's. I have many other co-workers who experience the same exact
problem as I described.

Therefore I do not think there is a good way to really "rid" of the
errors; because of this, I was hoping someone could shed some light on
how one could write a script in VBA that would not allow such error
messages to appear.

There is something with the application that exports the files, in that
it wants access to Normal.dot. Because if I do not have another
instance of Word open when I export a report, I receive no such error
messages.

I hope this gives you more understanding of what I am really trying to
tackle here. I am not really looking to solve the problem in Word, but
rather I am trying to figure out an efficient work-around, so that I do
not have to click through all the error messages each time I export a
report.

Thank you,

-Carey
 
J

Jean-Guy Marcil

Carey was telling us:
Carey nous racontait que :
Jean,

Thanks for the reply. I do not think it is a problem with the setup
of Word, but rather a problem with the program I am using to export
the RTF's. I have many other co-workers who experience the same exact
problem as I described.

What program are you using?
Is it an add-in?

If it is, it is poorly written.
Therefore I do not think there is a good way to really "rid" of the
errors; because of this, I was hoping someone could shed some light on
how one could write a script in VBA that would not allow such error
messages to appear.

You could deactivate "Prompt to Save Normal template" under the Save tab of
Tools > Options...
But, if it helps, it means that whatever this program is doing to your
Normal.dot will be automatically saved. If you use this program often
enough, it means your Normal.dot will constantly be modified.

This is a road I would not recommend as it will eventually lead to
Normal.dot corruption.

I would try to look for another tool that behaves better.
There is something with the application that exports the files, in
that it wants access to Normal.dot. Because if I do not have another

It should not do that.
There is no need to access/modify Normal.dot.
instance of Word open when I export a report, I receive no such error
messages.

I hope this gives you more understanding of what I am really trying to
tackle here. I am not really looking to solve the problem in Word,
but rather I am trying to figure out an efficient work-around, so
that I do not have to click through all the error messages each time
I export a report.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
C

Carey

I agree with all your points and I have previously tried all your
suggestions. However, I am looking for some help in writing a VBA
script that will disable all alerts and save attempts when one opens an
RTF file. I have tried a couple of scripts on my own, but they don't
seem to do anything.

Any help in that regard?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top