+ Reply to Thread
Results 1 to 2 of 2

Deleting selected macro buttons

  1. #1
    Registered User
    Join Date
    02-21-2005
    Posts
    5

    Deleting selected macro buttons

    Hello everyone

    Is there an easy way of deleting the macro click buttons by the name you have assigned them and not by it's automatic button number? It is getting difficult to keep track of the number of buttons and when the sheet is copied the button numbering changes on the copied sheet.

    is there a way of using the button command eg.

    ActiveSheet.Buttons.???

    Any help would be appreciated

    Thanks

    Rabbi

  2. #2
    Norman Jones
    Guest

    Re: Deleting selected macro buttons

    Hi Rabbi,

    Try something like:

    ActiveSheet.Buttons("MyButton1").Delete


    ---
    Regards,
    Norman



    "rabbi" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hello everyone
    >
    > Is there an easy way of deleting the macro click buttons by the name
    > you have assigned them and not by it's automatic button number? It is
    > getting difficult to keep track of the number of buttons and when the
    > sheet is copied the button numbering changes on the copied sheet.
    >
    > is there a way of using the button command eg.
    >
    > ActiveSheet.Buttons.???
    >
    > Any help would be appreciated
    >
    > Thanks
    >
    > Rabbi
    >
    >
    > --
    > rabbi
    > ------------------------------------------------------------------------
    > rabbi's Profile:
    > http://www.excelforum.com/member.php...o&userid=20178
    > View this thread: http://www.excelforum.com/showthread...hreadid=396728
    >




+ Reply to Thread

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