Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default POWERPOINT IN EXCEL

Hi Glenn!

I think next code works.

Sub DrivePresentation()
Dim MyPowerPoint As Object
Dim MyPresentation As Object
Dim myPath As String

myPath = Application.ActiveWorkbook.Path
myPath = myPath & "\"
Application.ActivateMicrosoftApp xlMicrosoftPowerPoint
Set MyPowerPoint = CreateObject("PowerPoint.Application")
MyPowerPoint.Visible = True
Set MyPresentation = MyPowerPoint.presentations.Open(myPath & "Dias.ppt")
With MyPresentation.SlideShowSettings
.ShowType = ppShowTypeSpeaker
.Run
End With
End Sub

Regards
Kari J Keinonen
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
Excel-Powerpoint Denver Charts and Charting in Excel 1 June 21st 09 10:57 AM
excel to powerpoint confused Excel Worksheet Functions 1 October 5th 05 05:40 PM
Excel and Powerpoint funkymonkUK[_14_] Excel Programming 2 May 27th 05 09:51 PM
excel, powerpoint srm Excel Discussion (Misc queries) 1 January 16th 05 03:40 AM
Excel to powerpoint toddmbright Excel Programming 1 May 29th 04 03:03 AM


All times are GMT +1. The time now is 07:26 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"