+ Reply to Thread
Results 1 to 3 of 3

Name of active checkbox

  1. #1
    Forum Contributor
    Join Date
    08-20-2012
    Location
    Walsall,England
    MS-Off Ver
    Excel 2007
    Posts
    125

    Name of active checkbox

    Hi,

    I have several activex checkboxes on a worksheet. In the click event for each checkbox I have code which calls a sub routine. I need to pass the name of the selected checkbox to the sub routine. Would I have to explicitly declare the name of the checkbox e.g.
    mysubroutine "Checkbox1"

    or is it possible to do something like:
    mysubroutine activecheckbox

    Thanks

    Ant

  2. #2
    Forum Contributor
    Join Date
    08-20-2012
    Location
    Walsall,England
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: Name of active checkbox

    Does anybody have any ideas? After looking into a bit more it seems there is an activecontrol command but this is only for controls on a userform, not a worksheet. Does anybody know if there is an equivalent for a worksheet control?

    Thanks

  3. #3
    Forum Contributor
    Join Date
    08-20-2012
    Location
    Walsall,England
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: Name of active checkbox

    Nobody got any ideas?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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