Results 1 to 10 of 10

Thread: Delete All Comboboxes

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    VBAX Master TonyJollans's Avatar
    Joined
    May 2004
    Location
    Norfolk, England
    Posts
    2,291
    Location
    Hi Zack,

    They are all members of the Sheet's Shapes Collection so try something like

    For Each s in activesheet.shapes
        s.delete
    next
    This should delete all your controls - if you only want particular types you'll need some selection logic
    Last edited by Aussiebear; 04-29-2023 at 09:50 PM. Reason: Added code tags
    Enjoy,
    Tony

    ---------------------------------------------------------------
    Give a man a fish and he'll eat for a day.
    Teach him how to fish and he'll sit in a boat and drink beer all day.

    I'm (slowly) building my own site: www.WordArticles.com

Posting Permissions

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