Application.OnTime Question

tcnt9176

Board Regular
Joined
Jun 23, 2008
Messages
223
I want to preface my question by stating that today is the first I had heard of Application.OnTime. I tried viewing previous posts but I cannot get it to work no matter what I try. I have tried entering it as a PrivateSub but don't know what that means and cannot find it when looking for it. I see where some state it needs to be in ThisWorkbook but really don't know what that means either. I have also tried just entering the code below as the 1st line of my macro. As you can see, I don't know much about this. Any help would be appreciated. I guess the main thing is that I don't know anything about different types of modules.

Code:
Application.OnTime TimeValue("16:00:00"), "ResearchMacro"
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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