P
Paul
Hello
I am using powerpoint 2003. I have several large presentations (200+
slides) where I want to ungroup pictures (jpegs) that have been
grouped with a text caption.
Using below code, I always get Run-Time Error 70,permission denied.
any suggestions?
thanks!
-paul
Sub UngroupEveryDarnThing()
Dim AllSlides As Slides
Dim SingleSlide As Slide
Dim PhotosCaptions As Shapes
Dim Photo As Shape
Dim numberslide As ShapeRange
Dim x As Long
Set AllSlides = ActivePresentation.Slides
For Each SingleSlide In AllSlides
Set PhotosCaptions = SingleSlide.Shapes
For Each Photo In PhotosCaptions
If Photo.Type = msoPicture Then
Set numberslide = Photo.Ungroup
End If
Next Photo
Next SingleSlide
End Sub
I am using powerpoint 2003. I have several large presentations (200+
slides) where I want to ungroup pictures (jpegs) that have been
grouped with a text caption.
Using below code, I always get Run-Time Error 70,permission denied.
any suggestions?
thanks!
-paul
Sub UngroupEveryDarnThing()
Dim AllSlides As Slides
Dim SingleSlide As Slide
Dim PhotosCaptions As Shapes
Dim Photo As Shape
Dim numberslide As ShapeRange
Dim x As Long
Set AllSlides = ActivePresentation.Slides
For Each SingleSlide In AllSlides
Set PhotosCaptions = SingleSlide.Shapes
For Each Photo In PhotosCaptions
If Photo.Type = msoPicture Then
Set numberslide = Photo.Ungroup
End If
Next Photo
Next SingleSlide
End Sub