Re: VBA Timer
- From: Steve Rindsberg <abuse@xxxxxxxxxxxxx>
- Date: Sat, 16 Feb 2008 12:47:07 EST
In article <E9FE2A6E-CAB6-4954-9FBE-9C6D6D89C482@xxxxxxxxxxxxx>, Carbuthn wrote:
John, depending on the version of PowerPoint (i.e. 2007) I have been having
problems getting Shyam code to work, I get an error message from the public
declaration of the sleep lib. used in the TMR sub.
Ah. That means that something's wrong.
Hint: Always quote the exact text of the error message; that gives us something to
grab hold of. The fact that there was an error message doesn't tell us much.
But now that I've lengthened your leg, you may want to try re-copying the
declaration from Shyam's page. Here 'tis to save you the trouble of looking it up:
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
There's nothing wrong with it ... it works fine here.
The second part works but
may need a screen refresh after a time delay.
Thank,
Chuck
"John Wilson" wrote:
Maybe use the settimer API. Shyam explains it here
http://skp.mvps.org/ppt00021.htm
--
Amazing PPT Hints, Tips and Tutorials
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
"Jason Lopez" wrote:
I need to add a timer on a single slide. I know that I could make a timer
out of multiple slides. But that is a waste of memory space (IMO) for a
presentation. I saw that someone created a presentation with a single slide
timer using VBA. But, can someone point me in the direction of where I can
get an understanding of how they did this and I can write my own macro code
for it?
Jason Lopez
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
.
- Follow-Ups:
- Re: VBA Timer
- From: carbuthn
- Re: VBA Timer
- References:
- VBA Timer
- From: Jason Lopez
- VBA Timer
- Prev by Date: Re: Need help getting fancy with bullet animations
- Next by Date: Re: Multiple master title area font sizes
- Previous by thread: VBA Timer
- Next by thread: Re: VBA Timer
- Index(es):
Relevant Pages
|