any way to call a marco every 10mins?
any way to call a marco every 10mins?
Look for the Ontime method
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
i wanna know about ontime in EXCEL 2010. i got this code online and it does not work as it shows the form then does not unload it after the alloted time. In other words the useform does not go away after 5 seconds
This is the code:
Sub Workbook_Open()
MyStartupForm.Show
End Sub
Private Sub MyStartupForm_Activate()
Application.OnTime Now + TimeValue("00:00:05"), "Kill_The_Form"
Unload MyStartupForm
End Sub
Private Sub Kill_The_Form()
Unload MyStartupForm
End Sub
Pay someone to lean out of the window and shout his nameany way to call a marco every 10mins?
I'll get my coat...
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."
Use code tags when posting your VBA code: [code] Your code here [/code]
Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.
st0kvis
Please start a new thread rather than asking a question in someone else's per the forum rules:
2. Don't post a question in the thread of another member -- start your own. If you feel it's particularly relevant, provide a link to the other thread.
Dom
example:
It runs every 5 seconds. Do not forget to think of the way you will stop itPlease Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks