troubleshooting Question

Cannot run the macro "filename1". The macro may not be available in this workbook or all macros may be disabled.

Avatar of ndoorsinteractive
ndoorsinteractive asked on
Visual Basic ClassicMicrosoft ExcelVB Script
7 Comments1 Solution17266 ViewsLast Modified:
I've working on Macro Function (by VBA) which is in Excel.

When I create macro function and register function directly on toolbar(ribbon?),
the macro doesn't have any problem to run.

but the problem is happing,
when i close file and excel completely, and i open new file with other name and try to run the macro by pressing macro button, it keeps showing error below.

Cannot run the macro "filename1". The macro may not be available in this workbook or all macros may be disabled.

i've enabled macro setting as "allow all macro enabled"..

what am i supposed to change or add it.?

Also, I need the macro button available for 1 or 2 users in Active directory as well.

Thanks in advance
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros