dynamic clock in excel

T

thread

Hi all
i'm trying to build dynamic clock in vba but the issue is that i
cannot find the activeX timer that appear in VB,can anyone advice what
ocx to search in order to have the interval?
 
G

Gary Keramidas

maybe this post from rick rothstein will be helpful:

"Give this a try. Right-click the UserForm's ToolBox and select "Additional
Controls" from the popup menu that appears. Scroll down to "Microsoft Status
Bar Control 6.0" and select it. This will add the "Status Bar" control to
the Toolbox. Place a "Status Bar" control on your UserForm. Highlight
(select) it and click on the Custom property in the Properties window and
click on the button with the "three-dots" caption. You can play around with
adding panels and what not, but for your requested option, click on the
Panels tab. One panel should already exist on the "Status Bar" by default.
Change that panel's Alignment property to 2-sbrRight, Style property to
5-sbrTime and AutoSize property to 1-sbrSprint. Hit OK and watch the
displayed time change automatically."
 
T

thread

maybe this post from rick rothstein will be helpful:

"Give this a try. Right-click the UserForm's ToolBox and select "Additional
Controls" from the popup menu that appears. Scroll down to "Microsoft Status
Bar Control 6.0" and select it. This will add the "Status Bar" control to
the Toolbox. Place a "Status Bar" control on your UserForm. Highlight
(select) it and click on the Custom property in the Properties window and
click on the button with the "three-dots" caption. You can play around with
adding panels and what not, but for your requested option, click on the
Panels tab. One panel should already exist on the "Status Bar" by default.
Change that panel's Alignment property to 2-sbrRight, Style property to
5-sbrTime and AutoSize property to 1-sbrSprint. Hit OK and watch the
displayed time change automatically."

--

Gary






- -

i would like to use it on the excel worksheet and not on the form'i
tracked your instructions but from some reason i see a grey pasive
panel,maybe it cannot work on the worksheet unless it have the
application(form)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top