W
wadiuwant
Hi all
I am looking for help for what should be a simple macro. I'm running
PowerPoint 2003 (XP).
I want to create a macro that will copy a specific rectangle from a
specific slide to the same position on the current slide.
When I use Record New Macro, I get the following:
Sub Copy_Rectangle()
ActiveWindow.Selection.SlideRange.Shapes("Rectangle 48").Select
ActiveWindow.Selection.Copy
ActiveWindow.Selection.Unselect
ActiveWindow.View.Paste
ActiveWindow.Selection.Unselect
End Sub
However when I run the macro, I get a run-time error '-2147024809
(80070057)': The item with the specified name wasn't found and the
debugger shows that the macro stopped on the first line.
This is apparently a known bug. I've looked at Article ID 278575, but
I am unable with my knowledge level to generalise from the example in
that article to my macro. (Also when I hit End the rectangle still
doesn't appear.)
Any help would be appreciated.
Regards
Richard
I am looking for help for what should be a simple macro. I'm running
PowerPoint 2003 (XP).
I want to create a macro that will copy a specific rectangle from a
specific slide to the same position on the current slide.
When I use Record New Macro, I get the following:
Sub Copy_Rectangle()
ActiveWindow.Selection.SlideRange.Shapes("Rectangle 48").Select
ActiveWindow.Selection.Copy
ActiveWindow.Selection.Unselect
ActiveWindow.View.Paste
ActiveWindow.Selection.Unselect
End Sub
However when I run the macro, I get a run-time error '-2147024809
(80070057)': The item with the specified name wasn't found and the
debugger shows that the macro stopped on the first line.
This is apparently a known bug. I've looked at Article ID 278575, but
I am unable with my knowledge level to generalise from the example in
that article to my macro. (Also when I hit End the rectangle still
doesn't appear.)
Any help would be appreciated.
Regards
Richard