Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA to close a Slide Show automatically after startup?

Status
Not open for further replies.

Quarm

IS-IT--Management
Feb 6, 2002
18
0
0
GB
Hi Everyone,

I have a ShockWave flash object embedded in a slide, so when view slide show is pressed, this file (.swf)which has been imported to Powerpoint is able to play the file and loop. I have placed the file in the startup folder so that the show begins automatically after a person logs onto their PC. However, after successfully achieving this, I have to press Esc to exit.

I want to be able to exit the slide show automatically without pressing anything. I have tried the timer for shows but had no success.

Here is the VBA code of the slide show so far:

Private Sub ShockwaveFlash1_OnReadyStateChange(ByVal newState As Long)

End Sub



Any insight into how this can be done will be much appreciated.
Thankyou.

Q.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top