Create a clock/timer with VBA that can be FF, paused and rewound

tcpadres

New Member
Joined
Oct 5, 2009
Messages
1
I am new to VBA, and I have been trying to figure this one out for over a week. I am trying to create a clock that I can pause the VBA, fast forward, rewind, and play it. I am thinking I will use a userform for the controls of the clock, but the clock will be on the worksheet itself.

I want to enter a start date and time(format: 1/11/09 14:00) into B1 and an end date and time in B2. The clock in A1, would then run through the time sequence by hour, and stop at the end date/time. I would like the speed at which it runs through the clock to be variable, so I can speed it up from .5 seconds/hour to .25 seconds/hour, etc, as well I would like to be able to pause it, and rewind it.

I am using Excel 2003.

Any help would be greatly appreciated!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,215,366
Messages
6,124,514
Members
449,168
Latest member
CheerfulWalker

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