+4 votes
104 views
in Office by (242k points)
reopened
Excel: Insert button

1 Answer

+5 votes
by (1.6m points)
 
Best answer

Insert button in Excel - this is how it works
1st step:
2nd step:
3rd step:
4th step:
5th step:
6th step:
Brief instructions: Insert button in Excel

Would you like to add a button or other control element to your Excel workbook? We'll show you how it's done..

image image

Controls not only look good, but are also very useful to make working with Excel easier. There are not only buttons, but z. B. also group fields, check boxes or list fields. By assigning macros, the controls automatically execute a sequence of commands. In this article we will show you how to create macros in Excel. You can insert controls in just a few steps using the developer tools. That's how it's done:

Insert button in Excel - this is how it works

Note : Before you can insert a button in Excel, you must first activate the developer tools. We explain here how you can display the developer tools in Excel.

Follow our step-by-step instructions or take a look at the brief instructions ..

1st step:

image
Open Excel and select the Developer tab at the top . There click on " Insert ".

2nd step:

image
For the controls, click on the first symbol to insert a button .

3rd step:

image
Select the position of the button in your workbook and hold down the left mouse button there to determine the size . This can be changed later.

4th step:

image
The " Assign macro " window now opens . Click on a previously defined macro or record a new one . If you select a previously created macro, then click " OK ". We explain how to create a macro in Excel here.

5th step:

image
The button has now been placed. If you click on it with the right mouse button , you can change the name. With the left mouse button you can click the button normally and initiate the execution of the macro. You can see what this can look like in the next step.

6th step:

image
After clicking the button , the macro was executed and the table is now given a page layout in our example.

Brief instructions: Insert button in Excel

  1. Open Excel and click the " Paste " option in the " Developer " tab .
  2. Click on the first symbol next to the controls to insert a button .
  3. Find a position in your workbook and hold down the left mouse button there to determine the size of the button.
  4. A new window will open . Either click on a previously created macro or record a new one . Confirm with " OK ". We explain how to create a macro here.
  5. The button was created. If you click on it with the right mouse button , you can change the name .
  6. Click the button to run the assigned macro.

...