So i was playing around with your method when i came across something that
looks like exactly what i want to do, and this lady got it to work. check
out the website, check out my code below, and let me know what you think.
no, it doesn't yet work.
http://www.developersdex.com/vb/message.asp?p=2677&r=6256212
Sub CreateShow()
'Declare the variables
Dim oSlide As Slide
Dim oPicture1 As Shape
Dim oPicture2 As Shape
Dim oPicture3 As Shape
Dim oPicture4 As Shape
Dim oPicture5 As Shape
Dim oPicture6 As Shape
DisplayAlerts = False
ScreenUpdating = False
....bunch of code inserting pics...
With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeSpeaker
.LoopUntilStopped = msoTrue
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
.Run
End With
'Save the presentation to the network
ActivePresentation.SlideShowWindow.View.Exit
ActivePresentation.SaveAs ("U:\Estimating Log\Est
Schedule\Directory\schedule.pps"), ppSaveAsShow
SetAttr "U:\Estimating Log\Est Schedule\Directory\schedule.pps",
vbReadOnly
oPicture1.Delete
oPicture2.Delete
oPicture3.Delete
oPicture4.Delete
oPicture5.Delete
oPicture6.Delete
'Stop the show
ActivePresentation.Close
'Resets the objects
Set oSlide = Nothing
Set oPicture1 = Nothing
Set oPicture2 = Nothing
Set oPicture3 = Nothing
Set oPicture4 = Nothing
Set oPicture5 = Nothing
Set oPicture6 = Nothing
Application.Quit
End Sub
thanks!
scott