excel macro does not run

Copper Contributor

I have an Excel file that contains macros—they all run perfectly - when I record a NEW macro it does not run when invoked - I get a loud tone , but no error message—please help

1 Reply

@preston99 

Put the macro in a module and let it run through that.

If the macro has an error, then it should appear.

 

Also recommend deactivating all add-ins in advance and letting the macro run again.

 

In addition, if I may recommend, enter your digital environment as information with your topic/problem/concerns (Excel version, operating system, storage medium, etc.), add photos or, if possible, a file (without sensitive data) and describe it based on this step-by-step the topic/problem/concern. In this way you can come to a solution proposal here in the forum more quickly and precisely :).

 

Question:

Is it also possible that you are working in other programs while the macro is running?

If you happen to do some typing while pressing the Shift key while the code is calling the Open statement, you are essentially putting VBA into design mode and further execution in VBA will stop.

 

I hope that this information could help you a little.

 

NikolinoDE

I know I don't know anything (Socrates)