Run VBA code from a macro

M

Mike

Hi all,
i have written a macro M1 that does some actions. One of these actions is
the RUN CODE action and the related VBA function is calling a VBA Sub that do
all the required operations.
The macro M1 is called inside another macro M2 that calls M1 for N times.
The problem is that the macro M1 is called a number of times different from
the expected one, that seems to be twice the expected times.
I wonder if there are any requirements to satisfy when a Sub is called from
a macro.

Thanks a lot.

Mike.
 

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