Results 1 to 19 of 19

Thread: To delete text boxes based on name/contained text

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,096
    Location
    If you know the probable names you can use wildcards like this

    For L = osld.Shapes.Count To 1 Step -1 
          f osld.Shapes(L).Name Like = "Text*" Then If osld.Shapes(L).Delete
    Next L
    Last edited by Aussiebear; 04-16-2023 at 02:22 PM. Reason: Added code tags
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

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