REAL-TIME

VBA Projects

Full Access with Source Code

  • Designed and Developed by PNRao

  • Full Access with VBA Source Code

  • Well Commented Codes Lines

  • Creative and Professional Design

120+ PROFESSIONAL

Project Management Templates

120+ PM Templates Includes:
  • 50+ Excel Templates

  • 50+ PowerPoint Templates

  • 25+ Word Templates

Effortlessly Manage Your Projects

Seamlessly manage your projects with our powerful & multi-purpose templates for project management.

Share Post

OptionButton Activex control is used to select only one selection from multiple selections within a group. When we select an OptionButton_Control on the Worksheet in a group immediately it will de select all other OptionButtons in the same group. It has value property. It indicates whether the OptionButton_Control is selected or not. When we select Option Button the value is ‘True’. And when it de selects the value is ‘False’. The Option Button value can be linked to a Worksheet Cell. Option Button is used on the WorkSheet. You can see how it works and more details about ActiveX Option Button Control on the UserForm or Worksheet in the following chapter.

VBA ActiveX OptionButton Control on the Worksheet

Please find more details about VBA ActiveX Option Button Control on the Worksheet.

    1. Go To Developer Tab and then click Insert from the Controls
    2. Drag the two OptionButton controls on the Worksheet from the ActiveX Controls group.
    3. Right click on the OptionButton_control, before that Design Mode should be turned ON.
    4. Click on the properties from the available list.
    5. On the left side find ‘Caption’ from the available properties of the control.
    6. On the right side mention as ‘Male’. Similarly for second OptionButton caption as ‘FeMale’. Please find the below screen shot for the same.

OptionButton Excel VBA ActiveX Control12

    1. On the left side find ‘LinkedCell’ from the available properties of the control.
    2. On the right side mention as ‘B8’. Similarly for second OptionButton mention as ‘C8′. You can see the same in above screen shot for the same.
    3. Now, you can check the output by clicking the OtionButtons and see the output in Linked cell. Please find the below screen shot for the same.

Output:

OptionButton Excel VBA ActiveX Control11

Difference Between OptionButton and CheckBox_Control

Option Button and Checkbox both displays an option. Both are used to turn On or Off options. Difference between is, Option Button is used to select only one selection from multiple selections. Where as CheckBox is used to select multiple selections from the available list.

Effortlessly Manage Your Projects and Resources
120+ Professional Project Management Templates!

A Powerful & Multi-purpose Templates for project management. Now seamlessly manage your projects, tasks, meetings, presentations, teams, customers, stakeholders and time. This page describes all the amazing new features and options that come with our premium templates.

Save Up to 85% LIMITED TIME OFFER
Project Management Templates

All-in-One Pack
120+ Project Management Templates

Essential Pack
50+ PM Templates

Excel Pack
50+ Excel PM Templates

PowerPoint Pack
50+ Excel PM Templates

MS Word Pack
25+ Word PM Templates

Ultimate Project
Management Template
Ultimate Resource
Management Template
Project Portfolio
Management Templates
Last Updated: March 2, 2023

One Comment

  1. Dan Flak March 29, 2019 at 2:26 AM - Reply

    Very nice explanation of how to do it manually. Now can you, as the title suggests, tell us how to do this in VBA?

Leave A Comment