Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Opening Powerpoint file from Excel
Hi -
I have the following code to start a new instance of Powerpoint when the value in Cell A1 is greater than 10: Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Excel.Range) If Range("A1").Value 10 Then Application.ActivateMicrosoftApp (xlMicrosoftPowerPoint) End If End Sub How can I adapt this code to specify which file to open in Powerpoint? It will always be the same file so I can hard code the filename into my macro, something like 'C:\My Folder\My Presentation.ppt Thanks in advance Jake |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to open Excel file from PowerPoint? | Excel Programming | |||
Help in opening powerpoint file variable from excel | Excel Programming | |||
Opening a new PowerPoint chart with excel vba | Excel Programming |