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 / February 2005

Tip: Looking for answers? Try searching our database.

code to either auto wrap text box or start new one

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
job - 24 Feb 2005 23:02 GMT
I have code that I'm writing that puts slides into ppt from excel.  After
which and I'm creating an index of the pages added.  The problem is that I
usually add a lot of items so the text box I'm adding the list of items to
gets too long.  Even though I have the textbox set to wrap it still
continues.

Here is where it is built:

For Each oSld In PPApp.ActivePresentation.Slides
       ' Does the slide have title placeholder?
       If oSld.Shapes.HasTitle Then
           ' Get the reference to the title shape on the slide
           'Set oShp = oSld.Shapes.Title
            'Check if the placeholder has  any text in it.
           If oSld.Shapes.Title.TextFrame.TextRange.Text = "" Then
               oAgenda = oAgenda & _
                         " ~Slide " & oSld.SlideIndex & Chr(13)
           Else
               oAgenda = oAgenda & _
                         oSld.Shapes.Title.TextFrame.TextRange.Text &
Chr(13)
           End If
       Else
           oAgenda = oAgenda & _
                     " ~Slide " & oSld.SlideIndex & Chr(13)
       End If
a = a + 1

   Next oSld

I thought of doing something like when a = 38 then
start a new text box and continue with the building of the list..

Any ideas?
Job - 28 Feb 2005 18:27 GMT
>I have code that I'm writing that puts slides into ppt from excel.  After
>which and I'm creating an index of the pages added.  The problem is that I
[quoted text clipped - 30 lines]
>
> Any ideas?
 
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.