M
Mark Tangard
Been using the Code Cleaner for several years & have never seen this
happen. I have several VBA add-ins, most of them set up the same -- a
file in the startup folder that builds a custom menu and allows the user
to run some of the macros from that file using that menu.
Since last week, if I run the Code Cleaner on one of these add-ins, it
continues to work as designed from the custom menu. But if I go to run
one of its 100-odd macros from the Tools>Macros>Macro dialog, I find the
great majority of them don’t appear in that list. Changing the “Macros
in:” box to restrict the dialog’s list to that add-in alone shows only
THREE of its macros. They happen to be among the oldest macros in the
file (one is its AutoExec procedure), but they’re otherwise pretty ordinary.
I’ve probably cleaned this file at least 50 times since birthing it in
2002, but this has never happened before. It happens on 2 different
PCs, and doesn’t happen to any other add-in, so it must be the file
itself. But I’ve rebuilt it from scratch twice with no change. Where
would you look next?
Thanks for any clues.
MT
happen. I have several VBA add-ins, most of them set up the same -- a
file in the startup folder that builds a custom menu and allows the user
to run some of the macros from that file using that menu.
Since last week, if I run the Code Cleaner on one of these add-ins, it
continues to work as designed from the custom menu. But if I go to run
one of its 100-odd macros from the Tools>Macros>Macro dialog, I find the
great majority of them don’t appear in that list. Changing the “Macros
in:” box to restrict the dialog’s list to that add-in alone shows only
THREE of its macros. They happen to be among the oldest macros in the
file (one is its AutoExec procedure), but they’re otherwise pretty ordinary.
I’ve probably cleaned this file at least 50 times since birthing it in
2002, but this has never happened before. It happens on 2 different
PCs, and doesn’t happen to any other add-in, so it must be the file
itself. But I’ve rebuilt it from scratch twice with no change. Where
would you look next?
Thanks for any clues.
MT