944,084 Members | Top Members by Rank

Ad:
Feb 12th, 2007
0

Timer in xls?

Expand Post »
Could anyone help me with a procedure to display a timer in xls (e.g a count down)?

Also, could you please tell me what event method causes a macro to get executed upon starting a workbook? I want my macro to get executed without the user pushing any buttons.

Thank you in advance for your reply!

-m
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mason12345 is offline Offline
6 posts
since Feb 2007
Feb 13th, 2007
0

Re: Timer in xls?

I was able to resolve the first question using the Timer parameter in VBA. I accomplished the count down with a loop procedure. I can post the procedure if anyone is interested. Does anyone know about my second question?

Thanks,
-m
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mason12345 is offline Offline
6 posts
since Feb 2007
Feb 13th, 2007
0

Re: Timer in xls?

I found the answer to the second question as well. The code should go in MS excel objects, by clicking on the "this workbook" object and selecting the behavior (in my case "open") from the top code window.

Private Sub Workbook_Open()
Application.Run "'myxlsfile'!MyMacro"
End Sub



Thanks for those who read my original questions.

cheers,
-m
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mason12345 is offline Offline
6 posts
since Feb 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: VBA Help
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: how can I fix two child windows in a mdi form in vb 4





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC