Results 1 to 5 of 5

Thread: How to modify the text inside a text box with VBA?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Exclamation How to modify the text inside a text box with VBA?

    Hello guys.

    I have a problem when I try to locate a named text box in a named slide to change the text inside the text box.
    Any of you know how to do it?

    For example this code here is not working:

    ActivePresentation.Slides("Anlass").Select
        ActiveWindow.Selection.ShapeRange("Group 88").Select
        ActiveWindow.Selection.ShapeRange.GroupItems(Index:=3).TextFrame.TextRange.Select
        ActiveWindow.Selection.ShapeRange.GroupItems(Index:=3).TextFrame.TextRange.Characters(Start:=15, Length:=10).Select
        ActiveWindow.Selection.TextRange.Font.Bold = msoTrue
        ActiveWindow.Selection.Unselect
    Thanks in advance
    Last edited by Aussiebear; 04-28-2023 at 08:55 PM. Reason: Added code tags

Posting Permissions

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