ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro execution limit (https://www.excelbanter.com/excel-programming/308748-macro-execution-limit.html)

Benn

Macro execution limit
 
Hi,

I have the following situation. I have about 120 charts
on a worksheet. Each chart is associated with its own
macro (I have about 120 macros). All these macros are
executed by one sub procedure when the execel worksheet
is opened.

The problem I have is that I receive and error after it
tries to execute the 49th macro. Is there a limit to the
amount of macros that can be executed?

I have tried to break up the macro calls into 4 different
sub procedures (See Below). This does not work either.

eg.

Sub RunMacros1()
RunChartMacro1
RunChartMacro2
RunChartMacro3
RunChartMacro4

Harald Staff

Macro execution limit
 
What does the error say ?

Best wishes Harald


"Benn" skrev i melding
...
Hi,

The problem I have is that I receive and error after it
tries to execute the 49th macro. Is there a limit to the
amount of macros that can be executed?




Benn

Macro execution limit
 
it says just "400" in an error dialog

-----Original Message-----
What does the error say ?

Best wishes Harald


"Benn" skrev i

melding
...
Hi,

The problem I have is that I receive and error after it
tries to execute the 49th macro. Is there a limit to

the
amount of macros that can be executed?



.


Harald Staff

Macro execution limit
 
Not even a Debug button ?

Best wishes Harald

"Benn" skrev i melding
...
it says just "400" in an error dialog

-----Original Message-----
What does the error say ?

Best wishes Harald


"Benn" skrev i

melding
...
Hi,

The problem I have is that I receive and error after it
tries to execute the 49th macro. Is there a limit to

the
amount of macros that can be executed?



.





All times are GMT +1. The time now is 11:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com