+ Reply to Thread
Results 1 to 3 of 3

Userform Checkboxes!

  1. #1
    Registered User
    Join Date
    07-22-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    20

    Userform Checkboxes!

    Hi,

    Can anyone tell me how to transpose the following checkbox vba code into a userform checkbox code?

    Please Login or Register  to view this content.
    The following code works properly if the checkboxes were on the sheets but I got an error when the code was placed in the userform.

    Please Help!

    Thanks!

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    re: Userform Checkboxes!

    UserForms are a little bit trickier. You would need to add a checkbox to your userform and name it (likely CheckBox1 by default). Then you would need to have something that triggers the code to validate the checkbox. Most people use a command button (usually CommandButton1 by default). In the code for the command button you would have something like this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-22-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Userform Checkboxes!

    Quote Originally Posted by stnkynts View Post
    UserForms are a little bit trickier. You would need to add a checkbox to your userform and name it (likely CheckBox1 by default). Then you would need to have something that triggers the code to validate the checkbox. Most people use a command button (usually CommandButton1 by default). In the code for the command button you would have something like this:

    Please Login or Register  to view this content.
    works perfectly!
    Thank you so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Checkboxes in userform VBA
    By lealea1982 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2013, 05:31 AM
  2. Print Sheets based on checkboxes in UserForm, Checkboxes also control another macro
    By krackaberr in forum Excel Programming / VBA / Macros
    Replies: 34
    Last Post: 03-05-2013, 11:12 AM
  3. Userform checkboxes
    By MichelleW in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2011, 03:53 PM
  4. Checkboxes in Userform
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2010, 04:13 PM
  5. Userform with Checkboxes
    By Greg B in forum Excel General
    Replies: 5
    Last Post: 11-27-2005, 05:35 PM

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