Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When I try to open Powerpoint using a commandbutton I get
a "Run-Time Error". Here's the Code. Can someone help me with this, Thanks: Private Sub CommandButton1_Click() callppt End Sub Sub callppt() x = Shell("C:\Program Files\Microsoft Office\Office\POWERPNT.EXE") Dim pptApp As Object Set pptApp = CreateObject("Powerpoint.Application") pptApp.Visible = True pptApp.Presentations.Open Filename:="U\DATA\POWER\Learning.ppt" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error message When running Macros on MS excel 2002 | Excel Programming | |||
Error when running macro in Excel | Excel Programming | |||
Run-time error '1004' running to excel objects at once | Excel Programming | |||
Automation error running an excel add-in | Excel Programming | |||
KERNEL32.DLL error after running EXCEL Macro | Excel Programming |