Visio Timer

T

Twixman

Is there a way to make Visio fire a macro every 60
minutes? I have found a Timer funciton in the help
files, but I am not sure how to implement it into my
project.

Any help is greatly appreciated!

Thanks,
Twixman
 
D

Dick Grier

Hi,

You can download LongTimer.ocx from my homepage. It should work in Visio.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
T

Twixman

Thanks Dick for the suggestion. This can work, but I
would like to see if I can do something like this in
plain VBA code instead of using the OCX file. I can do
what I want in Access VBA, but Visio VBA is different. I
can put the code to execute right when the document is
opened to get the current time and the time 1 hour from
now, but I can't get a loop statment to start adding to
the current time like a stopwatch.

Thanks in advance!!

Twixman
 
D

Dick Grier

Hi,

Well, you can build your own timer. There is code on www.mvps.org/vb that
could be used.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 

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

Top