Toolbar loses macros

S

SmileyFtW

I have a single toolbar that refers to macros that reside in two separate
modules in normal.dot. When I open Word the toolbar loses the buttons that
activate all the macros in one module (the macros and module are still in the
VBE), but all of the buttons in the other module are still there and usable.

The macros that are "lost" are in the module that is second in alphabetical
order if that matters.

Prior to having all of the macros in a single toolbar I had the marcos from
each module in separate toolbars. The macros in one toolbar were lost, and it
wasn't always the same toolbar. So I combined them into the single toolbar
hoping that would solve the problem.

I guess I can put all of the macros in one module, but would really prefer
not to.

Thanks,

David
 
J

Jean-Guy Marcil

SmileyFtW was telling us:
SmileyFtW nous racontait que :
I have a single toolbar that refers to macros that reside in two
separate modules in normal.dot. When I open Word the toolbar loses
the buttons that activate all the macros in one module (the macros
and module are still in the VBE), but all of the buttons in the other
module are still there and usable.

The macros that are "lost" are in the module that is second in
alphabetical order if that matters.

Prior to having all of the macros in a single toolbar I had the
marcos from each module in separate toolbars. The macros in one
toolbar were lost, and it wasn't always the same toolbar. So I
combined them into the single toolbar hoping that would solve the
problem.

I guess I can put all of the macros in one module, but would really
prefer not to.

This is slightly confusing...

What are the module names?
The macro names?


--

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

SmileyFtW

Module Name:
DGM_CustomMacros
Macros in this module:
ToggleFormattingMarks
AddAPageBreak
AddLogging
RemoveLogging
PasteSpecialTextOnly

The other module:
MMRCA
Macros in this module:
GoTo_ToT
GoTo_PubsDocs
GoTo_AppxMTop
GoTo_AppxMAnnxI_Top
GoTo_AppxMPara5
FileIsOpen(strFileName) 'this is a function called by the subs in this
module

Also, can you please explain why you think the module names and procedure
names important to being able to answer my question?

Thank you,

David
 
J

Jean-Guy Marcil

SmileyFtW was telling us:
SmileyFtW nous racontait que :
Module Name:
DGM_CustomMacros
Macros in this module:
ToggleFormattingMarks
AddAPageBreak
AddLogging
RemoveLogging
PasteSpecialTextOnly

The other module:
MMRCA
Macros in this module:
GoTo_ToT
GoTo_PubsDocs
GoTo_AppxMTop
GoTo_AppxMAnnxI_Top
GoTo_AppxMPara5
FileIsOpen(strFileName) 'this is a function called by the subs in
this module

Also, can you please explain why you think the module names and
procedure names important to being able to answer my question?

Since I have never heard of such a particular problem, I thought that you
had inadvertently used similar names or reserved names.

In your original post, did you mean that the macros from the second module
became inactivated but the buttons were still on the toolbar, or the buttons
referring to the macros from that second module disappeared altogether?

--

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

SmileyFtW

The Macros remain in the module, but the buttons disappear from the toolbar.

Thanks!
 
J

Jean-Guy Marcil

SmileyFtW was telling us:
SmileyFtW nous racontait que :
The Macros remain in the module, but the buttons disappear from the
toolbar.

And that toolbar was created manually while no other template were opened?
And if you recreate the buttons, they always get wiped out? The same ones?

If so, what other add-ins (That you created or commercially acquired) do you
have running?

--

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

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