Enable Macro Excel 2013, not working

File/Option/Trust Center/Trust Center Settings.../
Macro Setting/Enable all macros (...)

Save/close/reopen

are steps I follow but when I click on a button with a macro, it says:

'Cannot run the macro 'FileDNA!Macro2'. The macro may not be available in this workbook or all macros may be disabled.

Question: What can I do to make this macro work.

FYI, the macro worked fine when I first created it. I save the workbook. Now I have reopened the file but it is no longer working.
LVL 34
Mike EghtebasDatabase and Application DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rory ArchibaldCommented:
Can you run the macro manually from the macros dialog?
0
Mike EghtebasDatabase and Application DeveloperAuthor Commented:
Hi Roy,

You are very quick. After I posted the question, to make sure the macro is still there, I checked it but it wasn't. I need to recreate it. I don't know what must have happened to it?

brb
0
Ejgil HedegaardCommented:
Probably the button points to a macro in a closed workbook.
Right click the button, attach macro, and see what is displayed.
And attach the button to the macro in the active workbook.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Mike EghtebasDatabase and Application DeveloperAuthor Commented:
After I created the macro again, it worked. But, after I saved/closed/reopened the macro was not there.

Question: Why am I loosing the macro?
0
Mike EghtebasDatabase and Application DeveloperAuthor Commented:
I see, when I save the macro, it gives me yes/no/cancel options.

I have been clicking on yes option but I had to click on No option to keep the macro. But with No option it is asking me to: "choose a macro-enabled file type in the file type list."

What all these instruction mean?

Is it asking me to have a file like myMacros.??? with some specific extension where this file is also macro-enabled?
0
Ejgil HedegaardCommented:
You have to save the workbook with macros.
Use Save as, second option.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.