Userform Multipage Question - VBA

JumboCactuar

Well-known Member
Joined
Nov 16, 2016
Messages
729
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a Userform with a Start/Stop Button - this toggles a timer that calls a macro every 20 minutes.

I also have Multipage - and wondering if it's possible to have a secondary timer that automatically switches the pages every 20 seconds.

Can it be done? I'm thinking possible conflicts when both timers get close


Thanks
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Logit

Well-known Member
Joined
Aug 31, 2016
Messages
4,160
I've had two timers running concurrently, performing different tasks. The key variables need to be slightly different from each other
as do the name of the macros.

Example :

Sub Timr1()

Sub Timr2()


Dim Rng1

Dim Rng2

etc etc.


Here is a download link to a sample project : Dual Timers.xlsm
 

Forum statistics

Threads
1,141,873
Messages
5,709,104
Members
421,614
Latest member
RAB29

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
Top