+ Reply to Thread
Results 1 to 3 of 3

How to find the name of an object on a worksheet

  1. #1
    Registered User
    Join Date
    08-31-2011
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    43

    How to find the name of an object on a worksheet

    I have a button on sheets 2 and 3.

    When Sheets 2 and 3 are hidden, I want a duplicate button on Sheet 1.

    I have put a button on Sheet 1 and assigned the macro. I was going to go into VBA and for Worksheet_Activate() put in some code to say, if sheets 2 and 3 are hidden, then make button visible.

    Is this possible? I can't seem to find a name for the button to control it.

  2. #2
    Registered User
    Join Date
    03-05-2012
    Location
    Paris, France
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: How to find the name of an object on a worksheet

    hi,
    the name of the button will appear in the "name box" when you will activate the button,
    boxen

  3. #3
    Registered User
    Join Date
    08-31-2011
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: How to find the name of an object on a worksheet

    Thank you!

+ 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