Results 1 to 4 of 4

Find Replace Text within PowerPoint text box?

Threaded View

  1. #1
    Registered User
    Join Date
    11-09-2010
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    21

    Find Replace Text within PowerPoint text box?

    I can select the textbox from the desired slide, but what am I missing to actually action the function?

        pptPres.Slides(22).Select
        For Each pptShape In pptPres.Slides(22).Shapes
        With pptShape
            If .HasTextFrame Then
            .TextFrame.TextRange.Select
            .TextFrame.TextRange.Replace(FindWhat:="[ClientName]", _
            Replacewhat:=Sheets("SourceData").Range("B1").Value, _
            WholeWords:=True) 'Compile error here expected: "="
            End If
        End With
        Next
    Last edited by nickypatterson; 02-01-2011 at 08:14 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1