Macros and timer

Erantes

New Member
Joined
Dec 27, 2023
Messages
28
Office Version
  1. 365
Platform
  1. Windows
Hi I'm trying to set macros off at certain times on different worksheets. what seems to be happening is when my macro is activated on sheet 1 it activates macros on other sheets as well. What also seems to happen is if I'm on another worksheet at time of activation on sheet 1 it doesn't activate. My aim is to have 11 macros going off at set times on 10 different sheets without them interfering with each other.
 
You should be able to write another sub that calls any number of subs. How depends on where the subs are that you want to call. If there are 9 on one sheet you can call them from another procedure on the same sheet, like
VBA Code:
Sub Call_All
RACE1TIME60
RACE2TIME60
RACE3TIME60
ETC.
End Sub
This assumes that the subs to be called don't take any parameters, which is the case in the posted code I read. All you'd need to do is run Call_All.
 
Upvote 0

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,215,095
Messages
6,123,072
Members
449,093
Latest member
ripvw

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