Add CheckBox on Worksheet or UserForm in Excel

Home/Excel VBA/Add CheckBox on Worksheet or UserForm in Excel

Add CheckBox on Worksheet or UserForm is using checkbox control and is used to specify or indicate binary choice. In this section we will see how to add single checkbox or multiple checkboxes on the worksheet or userform. Please find more details about add checkbox control in the following chapter.

PREMIUM TEMPLATES LIMITED TIME OFFER

ON SALE80% OFF

50+ Project Management Templates Pack
Excel PowerPoint Word

Advanced Project Plan & Portfolio Template
Excel Template

Business Presentations Templates Pack
PowerPoint Slides

20+ Excel Project Management Pack
Excel Templates

20+ PowerPoint Project Management Pack
PowerPoint Templates

10+ MS Word Project Management Pack
Word Templates


In this Topic:

How to add CheckBox on the Worksheet

Please find the following instructions to add a CheckBox on the Worksheet.

  1. Click on Developer Tab on the Excel Worksheet.
  2. On the Controls group, Click Insert, and then under ActiveX controls, click Check Box button. Please find the below screenshot for the same.
  3. Click on the Worksheet location where you want to place the check box.
  4. To edit the Check Box control, click on the design mode from the Controls group on the developer tab. Please find the below screenshot for the same.
  5. To specify the CheckBox control properties, right click on the control, and then click properties.
  6. Now, the properties dialog box will appear. You can change or specify the properties according to your wish.
  7. After adding check box on the worksheet it will be appear like below.

How to add multiple CheckBoxs on the Worksheet: Using Fill Handle

  1. Follow the above instructions to add a single checkbox on the Worksheet cell.
  2. Right click on the Check Box button, and then click on Properties.
  3. Remove or delete the name of the Checkbox(Default Name like CheckCox1…). That means Caption should be empty.
  4. Now, select the check box. And then drag the fill handle over the range of cells that you want to fill.
  5. After adding multiple check box’s on the worksheet it looks like below.
  6. how to add CheckBox on the UserForm

    Please find the following instructions to add a CheckBox on the UserForm.

    1. Click on Developer Tab on the Excel Worksheet.
    2. Click Visual Basic from the Code group. Go to Insert menu, click on UserForm.
    3. Now, it will display UserForm on the VBA Editor window. Default name of the User Form is UserForm 1. Please find the screen shot for the same for better understand.
    4. Click on Toolbox from the menu, select the check box and then drag and drop on the userform. It will be appear in the following way. Please find screen shot for the same.
    5. To specify the Check Box control properties, right click on the control, and then click properties.
    6. Now, the properties dialog box will appear. You can change or specify the properties according to your requirement.
    LIMITED TIME OFFER
By |April 12th, 2015|Excel VBA|2 Comments

About the Author:

Excel VBA Developer having around 8 years of experience in using Excel and VBA for automating the daily tasks, reports generation and dashboards preparation. Valli is sharing to helps us automating daily tasks.

2 Comments

  1. Jim Champaigne April 18, 2016 at 8:13 PM - Reply

    Valli,
    Thank you for presenting this wonderful resource.
    I am new to VBA after spending 30 years developing in Visual FoxPro.
    This is very helpful. Looking forward to receiving your email updates.

  2. yaseenmuhammad July 9, 2017 at 10:33 AM - Reply

    nice tutorial

Leave A Comment


Related pages


excel macro write to text filevba object modelunlock excel documentexcel vba chartscopy sheet excel vbaoutlook developer tabdelete blank rows in exceltcl tutorial pptexcel interview questions and answers pdfshort cut keys for excelexcel powerpivot tutorialdefinition of filtering in excelmsgbox iconstutorial on excel pivot tableshow to unprotect an excel sheet without passwordmerge cell in excel 2010excel string appendexcel project tracker templateuseful vbaexcel macro save as pdfvlookup macro excelhow to unhide column in excel 2007excel graph tutorialmerge cell excelsql aptitude questions with answerstesting interview questions for freshersrange vba cellsexcel vba data typesdelete unused cells in excelsimple excel macro examplerun macro on open excelvb coding examplesfilecopy vbaexel sumifexcel formula logical operatorsmacro open excel filehow to write a vba codehow to convert excel to xml in excel 2007vba print userformweekly task planner templatefso read filespss sqlexcel for loopsvlookup functiondeveloper tab excel 2010macro dialog boxif isna vlookup functionmerging sheets in excelexcel template planneroption button vbars getrowsexcel calculate difference between two datesexcel remove blankif statements in excel 2007vlookup meaning in excelline spacing in excelexport from access to excel vbavba create a new worksheetworking with arrays in vbasaving excel as csvexcel userform templatesvba advanced tutorialexample of a macro in excelexcel forum vbamacro recording excelvba clean functionexcel 2007 developer tabprotecting a worksheet in excelexcel vba cells selecthow to crack excel vba passwordexcel password templatefilter macro excelconsolidate workbooks in exceltutorial macro excelhow to unlock excelexcel macro select caseexcel button vbapassword to unprotect excel sheet