C cheer Registered User. Local time Today, 22:51 Joined Oct 30, 2009 Messages 222 Jan 10, 2012 #1 Anyone familiar to writeVBA to call a PPS file?
RuralGuy AWF VIP Local time Today, 07:51 Joined Jul 2, 2005 Messages 13,819 Jan 10, 2012 #2 Have you tried using the shell() command? Windows will find Power Point for you.
V vbaInet AWF VIP Local time Today, 14:51 Joined Jan 22, 2010 Messages 26,328 Jan 10, 2012 #3 Application.FollowHyperlink() should work also.
C cheer Registered User. Local time Today, 22:51 Joined Oct 30, 2009 Messages 222 Jan 11, 2012 #4 RuralGuy said: Have you tried using the shell() command? Windows will find Power Point for you. Click to expand... I got the answer. TQ On Error GoTo errHandler Shell "RunDLL32.EXE shell32.dll,ShellExec_RunDLL \\xxxx\yyyy\abc.pps" Exit Sub errHandler: ErrMessage Err.Description Click to expand...
RuralGuy said: Have you tried using the shell() command? Windows will find Power Point for you. Click to expand... I got the answer. TQ On Error GoTo errHandler Shell "RunDLL32.EXE shell32.dll,ShellExec_RunDLL \\xxxx\yyyy\abc.pps" Exit Sub errHandler: ErrMessage Err.Description Click to expand...
RuralGuy AWF VIP Local time Today, 07:51 Joined Jul 2, 2005 Messages 13,819 Jan 11, 2012 #5 I would think you could have just said: Shell "\\xxxx\yyyy\abc.pps" ...and it would have worked.
C cheer Registered User. Local time Today, 22:51 Joined Oct 30, 2009 Messages 222 Jan 21, 2012 #6 RuralGuy said: I would think you could have just said: Shell "\\xxxx\yyyy\abc.pps" ...and it would have worked. Click to expand... I try this, it doesn't work. I think it should come together with another method call AppActivate. Correct me if I'm wrong.
RuralGuy said: I would think you could have just said: Shell "\\xxxx\yyyy\abc.pps" ...and it would have worked. Click to expand... I try this, it doesn't work. I think it should come together with another method call AppActivate. Correct me if I'm wrong.
C cheer Registered User. Local time Today, 22:51 Joined Oct 30, 2009 Messages 222 Jan 21, 2012 #7 On Error GoTo errHandler Shell "RunDLL32.EXE shell32.dll,ShellExec_RunDLL \\xxxx\yyyy\abc.pps" Exit Sub errHandler: ErrMessage Err.Description Click to expand... Earlier I hv mentioned above code, any idea how to open a PDF file in a MAXIMIZE mode by using same way ?
On Error GoTo errHandler Shell "RunDLL32.EXE shell32.dll,ShellExec_RunDLL \\xxxx\yyyy\abc.pps" Exit Sub errHandler: ErrMessage Err.Description Click to expand... Earlier I hv mentioned above code, any idea how to open a PDF file in a MAXIMIZE mode by using same way ?
speakers_86 Registered User. Local time Today, 09:51 Joined May 17, 2007 Messages 1,919 Jan 21, 2012 #8 Look into the Windows API ShellExecute. Here is a kb article on it. You would be interested in the last parameter MS calls FsShowCmd.
Look into the Windows API ShellExecute. Here is a kb article on it. You would be interested in the last parameter MS calls FsShowCmd.
C cheer Registered User. Local time Today, 22:51 Joined Oct 30, 2009 Messages 222 Jan 22, 2012 #9 speakers_86 said: Look into the Windows API ShellExecute. Here is a kb article on it. You would be interested in the last parameter MS calls FsShowCmd. Click to expand... Thanks for the above clue. I got a better explanation through this link
speakers_86 said: Look into the Windows API ShellExecute. Here is a kb article on it. You would be interested in the last parameter MS calls FsShowCmd. Click to expand... Thanks for the above clue. I got a better explanation through this link