A
Andy Pope
Hi,
Using the shapes.paste method now generates an error in ppt2007. Does
anybody know a work around?
The following works fine in 2003.
Copy some text to the clipboard.
Open a new presentation
ATL+F11 (open VBE)
CTRL+G (open immediate window)
activepresentation.Slides(1).Shapes.Paste
A textbox will be added to the slide, as expected.
Now repeat but for ppt 2007 and the follow error occurs.
Run-time error '-2147188160 (80048240)'
Shapes (unknown member): Invalid request. Clipboard empty or contains
data which may not be pasted here.
The clipboard is not empty to and if I do CTRL+V the shape and text
appear as expected.
Any enlightening information appreciated.
Cheers
Andy
Using the shapes.paste method now generates an error in ppt2007. Does
anybody know a work around?
The following works fine in 2003.
Copy some text to the clipboard.
Open a new presentation
ATL+F11 (open VBE)
CTRL+G (open immediate window)
activepresentation.Slides(1).Shapes.Paste
A textbox will be added to the slide, as expected.
Now repeat but for ppt 2007 and the follow error occurs.
Run-time error '-2147188160 (80048240)'
Shapes (unknown member): Invalid request. Clipboard empty or contains
data which may not be pasted here.
The clipboard is not empty to and if I do CTRL+V the shape and text
appear as expected.
Any enlightening information appreciated.
Cheers
Andy