+ Reply to Thread
Results 1 to 7 of 7

Determine Which Check Box Called Procedure

  1. #1
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208

    Determine Which Check Box Called Procedure

    Hi guys.

    If I have several Forms check boxes assigned to the same procedure, is it possible to tell which check box called the procedure?

    Jason
    Last edited by jasoncw; 05-21-2009 at 05:04 PM.

  2. #2
    Registered User
    Join Date
    03-17-2009
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    10

    Re: Determine Which Check Box Called Procedure

    why not add to the checkbox procedure

    Msgbox "checkbox # was selected"

  3. #3
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208

    Re: Determine Which Check Box Called Procedure

    Because I will have hundreds of them, and I don't want hundreds of procedures.

  4. #4
    Registered User
    Join Date
    03-17-2009
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    10

    Re: Determine Which Check Box Called Procedure

    I thought you said in the original post
    I have several Forms check boxes assigned to the same procedure
    So you don't have these assigned? I'm confused now

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Determine Which Check Box Called Procedure

    Hello jasoncw,

    You can with Forms Controls. Place this line of code in your macro.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  6. #6
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208

    Re: Determine Which Check Box Called Procedure

    Perfect, thanks Leith.

  7. #7
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208

    Re: Determine Which Check Box Called Procedure

    Quote Originally Posted by texasalynn View Post
    I thought you said in the original post


    So you don't have these assigned? I'm confused now
    Just to clarify, all check boxes are assigned to the same procedure. One procedure, lots of check boxes calling the same procedure. Make sense?

+ 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