HOw do you open powerpoint from VB?
not inside a form!
just open the application
anyone ?
please!!!
Printable View
HOw do you open powerpoint from VB?
not inside a form!
just open the application
anyone ?
please!!!
Use the shell command
x = shell(""C:\Program Files\MicrosoftOffice\Office\POWERPNT.EXE"")
Of course you will have to change the path to point to were powerpoint is located.
Or, better yet, you can instatiate a PowerPoint object. Add a reference to Microsoft PowerPoint 8.0 (or select the highest version you have installed) Object Library, then use something like this:
Code:Private Sub Command1_Click()
Dim objPowerPoint As New PowerPoint.Application
objPowerPoint.Visible = msoCTrue
End Sub