• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

How to Insert a Button in Excel

0 Comments

Excel provides the option for users to add macro-enabled buttons to their worksheets, allowing them to execute macros with just a single click. These buttons can be used to perform a variety of tasks, including data filtering, selection, printing, formula and calculation execution.

Adding buttons and attaching macros to them is a straightforward process in Excel, with several methods available to users. Below, we have outlined some quick and easy techniques that you can use to add macro buttons to your Excel worksheets.

How to Add Macro Buttons in Excel Using Shapes

Creating buttons in Excel using shapes provides users with more formatting options compared to those created using Control buttons or ActiveX buttons. By using shape buttons, users can change the design, color, font, and style of the button.

To add a shape button, follow these steps:

  1. Go to the “Insert” tab and click on the “Illustrations” icon. How to Insert a Button in Excel 1
  2. Select the “Shapes” option and choose any rectangle button.How to Insert a Button in Excel 2
  3. Use the mouse to draw the rectangular button onto the worksheet.How to Insert a Button in Excel 3
  4. Double-click on the button to enter text.
  5. Format the button using the options available in the “Shape Format” tab. You can change the font style, font color, button color, button effects, and more.How to Insert a Button in Excel 4

To edit the text, add a hyperlink, or add a macro to the button, right-click on the button to open the pop-up menu. From here, select the desired option.How to Insert a Button in Excel 5

To add a macro to the button, select the “Assign Macro” option. This will open the “Assign Macro” dialogue box. Choose the macro you want to assign and click OK.How to Insert a Button in Excel 6

Once a macro is assigned, the button becomes macro-enabled, and you can execute the assigned macro by clicking on the button.How to Insert a Button in Excel 7

To prevent the button from moving or resizing with the cells, right-click on the button and select “Format Shape”. Then choose the “Don’t move or size with cells” option.How to Insert a Button in Excel 8

Adding Macro Buttons Using Form Controls

To add macro buttons using form controls in Excel, follow these steps:

  1. Go to the “Developer” tab on the ribbon and click on the “Insert” icon under the “Control” group.How to Insert a Button in Excel 9
  2. From the “Form Controls” menu, select the first button option and draw a button on the worksheet.How to Insert a Button in Excel 10
  3. Type or select the macro name from the “Assign Macro” dialogue box and click OK. If you don’t have a macro created yet, click cancel and add the macro at a later stage.
  4. To format the button’s font size, style, color, etc., select the “Format Control” option.How to Insert a Button in Excel 11
  5. Clicking on “Format Control” opens the “Format Control” window, allowing you to format the button’s font.How to Insert a Button in Excel 12
  6. To freeze the button movement, select the “Properties” tab, and choose the “Don’t move or size with cells” option. Finally, click OK. How to Insert a Button in Excel 13How to Insert a Button in Excel 14

Add Macro Buttons Using ActiveX Controls

To add a macro to an ActiveX Control button in Excel, follow these steps:

  1. Go to the “Developer” tab on the ribbon and click on the “Insert” icon under the “Control” group.How to Insert a Button in Excel 15
  2. Select the first button option from the “ActiveX Controls” menu and draw a button on the worksheet.How to Insert a Button in Excel 16
  3. Click on the button to select it and then right-click to bring up the context menu.
  4. From the context menu, select “View Code” to launch the VBA editor.How to Insert a Button in Excel 17
  5. In the VBA editor, select the “CommandButton1” on the subprocedure and choose the “Click” option from the drop-down list on the right side of the editor.
  6. Now, enter the macro code that you want to associate with the button.How to Insert a Button in Excel 18
  7. Save the changes and close the VBA editor.

To format the button, you can right-click on the button and select “Properties” to open the properties window. From here, you can customize the button’s appearance, such as its font size, style, color, etc.

To freeze the button movement, you can select the “Properties” tab and choose the option “Don’t move or size with cells” and then click OK.

In summary, Excel provides users with different options to create macro buttons, depending on their preferences and needs. By using shapes, form controls, or ActiveX controls, users can add buttons to their worksheets and assign macros to them to automate their tasks. Each method offers its own formatting options and steps to follow, but with a bit of practice, anyone can create and use macro buttons in Excel to save time and increase efficiency. So why not give it a try and see how macro buttons can help you in your daily Excel tasks?

Rate this post
21
242 Views
How to vertically type in ExcelPrevHow to vertically type in ExcelMay 9, 2023
Converting Time to Decimals in ExcelMay 9, 2023Converting Time to Decimals in ExcelNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
  • Windows Server 2022 Datacenter Key Global Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $7.00
  • Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year
    Rated 5.00 out of 5
    $164.50
  • Avast Ultimate Suite 2021 1 Year 10 Devices Global Avast Ultimate Suite 2021 1 Year 10 Devices Global
    Rated 5.00 out of 5
    $54.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
Products
  • Office 2019 Professional Plus Key Global Bind to your Microsoft Account Office 2019 Professional Plus Key Global Bind to your Microsoft Account
    Rated 4.97 out of 5
    $49.00
  • Buy Windows Server 2016 Essentials Key Global Buy Windows Server 2016 Essentials Key Global
    Rated 4.75 out of 5
    $10.00
  • Windows 10 Enterprise LTSC 2019 Key Global Windows 10 Enterprise LTSC 2019 Key Global
    Rated 4.83 out of 5
    $9.00
  • Buy Microsoft Office Professional Plus 2019 CD Key Global - 5 PC Buy Microsoft Office Professional Plus 2019 CD Key Global - 5 PC
    Rated 4.95 out of 5
    $32.00
  • Windows Server 2025 Remote Desktop Services 50 User Connections Windows Server 2025 Remote Desktop Services 50 User Connections $25.00
  • Kaspersky Small Office Security 20 PCs + 20 Mobiles + 2 Servers 1 Year Kaspersky Small Office Security 20 PCs + 20 Mobiles + 2 Servers 1 Year $284.73
  • Microsoft Visio Standard 2019 Key 1PC Microsoft Visio Standard 2019 Key 1PC $12.00
  • Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • Windows Server 2025 Standard Windows Server 2025 Standard $30.00
  • Windows Server 2016 Standard Key Global Windows Server 2016 Standard Key Global
    Rated 4.80 out of 5
    $10.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.