Running PPP from Access

G

Gus

Does any one knows what parameter to send to PowerPnt.exe from access to run
PP and automatically start the Show View (not using PPTView)?

I'm using this code:

Dim stAppName As String
Dim File_Path As String

File_Path = Me!DirPath.Value
stAppName = "PowerPnt.exe " & "/s " & File_Path
Call Shell(stAppName, vbNormalFocus)

But it opens the PPT without option to edit it.
 
G

Gus

I want the PowerPnt to open the file as edit and a macro that lauch the show
after loading the file.
 
G

Gus

Thanks Steve to take the time to deal with this Venezuelan Red-neck :)
Let's show you my case:
1- I have many PP with songs, each PP have a song. (for a church. Song
Improvisation)
2- The PP files/DirPath are registered in a DB, so when I search it and
press the link of the song, Access launches PowerPnt and show the song.
3- But some time one have to make changes to the PP on the fly, o I have to
open PowerPnt in Edit mode in order to do that, while it is shown.

So, is there any way that after Access launches PowerPnt in Edit mode,
PowerPnt runs a macro to Show de Slide (F5)?
Hope this is clean :-/
 
G

Gus

Sorry my ignorance, but how/where do I write the macro "Module1.PPTSub", and
what does it does?
:-(
 

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