macro will not run with file.xls!macro.macro

B

BillRobPV

I have two macros on a file daynite.xls. When I have just the macro name
(dynt or GetData) listed in the tools/macros/macros messagebox, they run fine
using ctrl+a (or+b), but when they are listed as daynite.xls!getdata.getdata,
or
daynite.xls!dynt.dynt, they will not run. I don't know how to insure that
only the macro name is listed, not the full path. I do not have any other
files running (unless they are hidden). TIA
 
D

Dave Peterson

Try changing the module names that contain the macros.

It can confuse excel when you have the same module name as macro name.

I'd use ModGetData and ModDynt.
 

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