+ Reply to Thread
Results 1 to 3 of 3

Delete button on another worksheet, WITHOUT selecting worksheet?

  1. #1
    Forum Contributor
    Join Date
    07-22-2009
    Location
    Minneapolis, MN
    MS-Off Ver
    2016
    Posts
    220

    Delete button on another worksheet, WITHOUT selecting worksheet?

    Hi,
    Can I delete a specific button on a specific worksheet; WITHOUT having to first select the worksheet? If so, how?

    Here is the code I have right now, which works; but I don't want to have to switch between the pages (some are hidden and don't want to hide/ unhide) if possible (seemingly unnecessary steps):

    Please Login or Register  to view this content.
    I've tried this:

    Please Login or Register  to view this content.
    but all it does is surround the button with circles and squares (like you right-clicked it), and doesn't actually do anything.

    Any ideas of how to fix, or what to try next?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Delete button on another worksheet, WITHOUT selecting worksheet?

    try this
    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Forum Contributor
    Join Date
    07-22-2009
    Location
    Minneapolis, MN
    MS-Off Ver
    2016
    Posts
    220

    Re: Delete button on another worksheet, WITHOUT selecting worksheet?

    Quote Originally Posted by patel45 View Post
    try this
    Please Login or Register  to view this content.
    Sweet, works on a test workbook; now to try it on the real deal...

    I'll reply when I confirm it works on the real one; but I'll consider this solved anyway.

    THANK YOU FOR THE HELP!!!

    EDIT: Your code also works for deleting buttons on the active sheet; nice!
    Please Login or Register  to view this content.
    Hiding Buttons:
    Please Login or Register  to view this content.
    Unhiding Buttons:
    Please Login or Register  to view this content.
    Last edited by Rerock; 09-04-2012 at 12:56 PM.

+ 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