Deleted macros but still getting warning

T

TM

I posted the question below a couple of weeks ago.

=======================
I created some macros in a Word template 'MyTemplate.dot'.
I have then moved all of those macros to my 'normal.dot'
template.
No macro appears for 'MyTemplate.dot' in the list when I
select Tools...Macro...Macros (or Alt F8).
Also, if I look at the project in the VB editor there is
no 'Modules' folder under TemplateProject 'MyTemplate'.
However when I close and re-open 'MyTemplate.dot' I still
get presented with the warning dialog stating that
"The document you are opening contains macros or
customizations".
How can I get Word to recognise that all of the macros
have been renoved?

Thanks in advance
=======================



I got a direct reply from Doug (thanks, Doug!) which
stated the following:

=======================
In the normal course of things, you would should not be
opening the template,
rather, select New from the File menu and then select the
template as the
basis of the document that you want to create. You would
not then get the
warning.
=======================

However, this is not the case. Even when I open a new
document based on the template I get the warning message
about macros. This is in spite of the fact that there are
no macros (that I can identify anyway) in the document.

Can anyone shed any light?
 
T

TM

Hi Mark

Thanks for getting back so quickly.
Unfortuately I had already deleted the module as well. The
only object I can see from the explorer is 'ThisDocument'
under 'Microsoft Word Objects'

I can see the macro module under normal.dot.

Very strange...
 
M

Mark Tangard

It is strange. Someone may step in with the answer but
I don't know it. If you're pressed for time, I'd say the
best thing to do right now is paste the content into a
fresh document and resave. (And if THAT doc gives the
macro warning, well, let's cross that bridge when it
hatches....)
 

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