Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Opening A File From Excel VBA

Is there a way to open a powerpoint file from excel
without having powerpoint open first?

Thanks,

Julie
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Opening A File From Excel VBA

Sub OpenPowerPntDoc(
Dim PwrPnt As Object, Pres As Objec
On Error Resume Nex
Set PwrPnt = GetObject(, "PowerPoint.Application"
If Err.Number Then Set PwrPnt = CreateObject("PowerPoint.Application"
On Error GoTo
PwrPnt.Visible = Tru
' us this line to open a specific Pressentation file, where MyFilePath = File path & Name, i.e "C:\Pres.ppt
Set Pres = PwrPnt.Presentations.Open(MyFilePath
End Su

----- Julie wrote: ----

Is there a way to open a powerpoint file from excel
without having powerpoint open first

Thanks

Juli

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolve Error in opening Excel File zip file from a CD? rw5400 Excel Discussion (Misc queries) 1 March 17th 10 03:41 PM
opening a file in Excel starts application but dose not open file Bob Shelton Excel Discussion (Misc queries) 1 July 2nd 08 07:51 PM
Opening file in Excel 2003 opens multipule instances of same file Ed_B Excel Discussion (Misc queries) 1 June 21st 07 07:10 PM
opening an excel file opens a duplicate file of the same file skm Excel Discussion (Misc queries) 1 December 7th 05 05:52 PM
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. Tim Marsden Charts and Charting in Excel 2 October 15th 05 02:10 PM


All times are GMT +1. The time now is 01:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"