Maximise a power point show when it opens from command button in access (1 Viewer)

Hamish 237

New member
Local time
Today, 19:19
Joined
Jun 19, 2019
Messages
16
Hi i have a access db that opens various power point ppsx files via hyperlinks is there any simple code i can add after the hyperlink that will open them maximised?
the ppsx files are all set to open as kiosk view and work fine when opened directly but not from the hyperlink

Code:
Private Sub Command13_Click()
Application.FollowHyperlink Application.CurrentProject.Path & "\First service show.ppsx"

End Sub
 

Micron

AWF VIP
Local time
Today, 05:19
Joined
Oct 20, 2018
Messages
3,467
I'm no PP guru, but I'd try a switch (/F) as in
"\First service show.ppsx" /F

However, I don't think you can use command line switches in vba code without automation, and the switch has to be outside of the file path quotes, which would add complexity. So I'd create a shortcut in the usual fashion, add the switch and open the shortcut.
HTH because I confess I'm guessing.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 02:19
Joined
Oct 29, 2018
Messages
11,837
Hi. If Micron's switch suggestion works, you could try using the Shell command. Otherwise, you could also try using the ShellExecute API.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top Bottom