Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / May 2008

Tip: Looking for answers? Try searching our database.

PPT 2007 Bug?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Burnsie - 20 May 2008 19:19 GMT
In 2003 I could do the following:

shape.textframe.textrange.paragraphs(i).insertafter.paste

Now I get a runtime error:
The specified parameter has an invalid value.

Even running the following snippet from the help files produces the same
error.

Application.ActivePresentation.Slides(1).Shapes(1).TextFrame _
   .TextRange.InsertAfter.Paste

Yet, if I replace the paste with some text string, then all is well.  
However, it is important that I be able to paste because I need to maintain
the formating from the section that I moving to this section of the slide.

Thanks,

Burnsie
Shyam Pillai - 20 May 2008 19:38 GMT
Yes, this is a bug with the InsertAfter in PPT 2007 reported by, Word MVP,
Jonathan West. Use the following code instead to get the same effect.

Application.ActivePresentation.Slides(1).Shapes(1).TextFrame _
   .TextRange.InsertAfter(" ").Paste

Regards,
Shyam Pillai

Image Importer Wizard
http://skp.mvps.org/iiw.htm

> In 2003 I could do the following:
>
[quoted text clipped - 17 lines]
>
> Burnsie
Burnsie - 23 May 2008 14:24 GMT
Shyam,

Thanks a lot.  This is exactly what we need.

Burnsie

> Yes, this is a bug with the InsertAfter in PPT 2007 reported by, Word MVP,
> Jonathan West. Use the following code instead to get the same effect.
[quoted text clipped - 29 lines]
> >
> > Burnsie
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.