Macro is Ineffective when run in Sequence of other macros

jsturm

New Member
Joined
Sep 27, 2018
Messages
11
I have a Master Macro in a workbook and it runs multiple smaller subs in sequence order by using 'Call' in order.

One of them works 100% as it should when running individually but when running in the sequence it doesn't do what it is supposed to.
I've used a Stop right before it starts to be sure all the data is there that should be and it is. Typically then if ai run it after the Stop then it works. Or if I fully stop the sequence and run it on its own it also does its job properly.

I don't think posting code is really going to help here as it is effective when run individually.

Is it possible I need to have it wait from the last sub prior or what may be a solution here?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I think posting a simplified sample of the code that reproduces the problem you described will help.
 
Upvote 0

Forum statistics

Threads
1,213,479
Messages
6,113,897
Members
448,530
Latest member
yatong2008

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top