Office, Karriere und Technik Blog

Office, Karriere und Technik Blog

Anzeige

Use macros correctly in Excel

Almost everyone has heard of the term “macro” in the context of Excel, and perhaps has shied away from it because it sounds like a rather complicated affair for which you have to deal with Excel programming.

But this feature has never been met before, as it has to be activated in the developer tools.

But do not worry, because neither the menu item Developer Tools, nor the creation of macros with which you can record workflows, and later with keyboard shortcuts, or play back button must be a book with seven seals.

How it is done in Excel 2016 is explained in our article.

Use macros correctly in Microsoft Excel 2016-2019

Topic Overview

Anzeige

Use macros correctly in Excel

Almost everyone has heard of the term “macro” in the context of Excel, and perhaps has shied away from it because it sounds like a rather complicated affair for which you have to deal with Excel programming.

But this feature has never been met before, as it has to be activated in the developer tools.

But do not worry, because neither the menu item Developer Tools, nor the creation of macros with which you can record workflows, and later with keyboard shortcuts, or play back button must be a book with seven seals.

How it is done in Excel 2016 is explained in our article.

Use macros correctly in Microsoft Excel 2016-2019

Topic Overview

Anzeige

1. Enable developer tools in Excel

1. Enable developer tools in Excel

In our little example we have created 2 dynamic tables with which we want to work.

The goal will be to transfer the data entered in the first table into the second table by means of a button, and then continue to update it.

If you have not already done so, you will first need to unlock the developer tools to get the function of the macros. To enable Developer Tools, go to the tab:

“File” – “Options” – “Customize Ribbon”

and put the appropriate hook there.

Then, by default, you’ve enabled your new additional Developer Tools tab in Excel.

See picture: (click to enlarge)

Entwicklertools in Excel
Advertisement

In our little example we have created 2 dynamic tables with which we want to work.

The goal will be to transfer the data entered in the first table into the second table by means of a button, and then continue to update it.

If you have not already done so, you will first need to unlock the developer tools to get the function of the macros. To enable Developer Tools, go to the tab:

“File” – “Options” – “Customize Ribbon”

and put the appropriate hook there.

Then, by default, you’ve enabled your new additional Developer Tools tab in Excel.

See picture:

Entwicklertools in Excel
Advertisement

2. Record macro in Excel

2. Record macro in Excel

As already said, the goal is to transfer and update data from one table to another via a button.

For this we have to think carefully about our work steps.

We will copy the entries in the first table step by step during the recording, insert them into the second table accordingly, and finally insert a new line to make room for the next entry.

Because we want to create an updating table.

First click on “Record Macro” in the tab “Developer Tools”.

In the next window, give the macro a name, and make sure that there are no spaces. So if you use two or more words (as in our example), you must separate them with a band or underscore.

After clicking on “OK”, the recording starts, and we perform exactly the steps that are to be executed automatically at the push of a button.

When we have completed all the steps, we finish the recording in the register:

“Developer Tools” – “Stop Recording”

See picture: (click to enlarge)

Ads
Makro in Excel aufzeichnen
Makro in Excel erstellen
Makro in Excel 2016 erstellen
Leerzeile in dynamische Tabelle einfügen
Makro Aufzeichnung beenden

As already said, the goal is to transfer and update data from one table to another via a button.

For this we have to think carefully about our work steps.

We will copy the entries in the first table step by step during the recording, insert them into the second table accordingly, and finally insert a new line to make room for the next entry.

Because we want to create an updating table.

First click on “Record Macro” in the tab “Developer Tools”.

In the next window, give the macro a name, and make sure that there are no spaces. So if you use two or more words (as in our example), you must separate them with a band or underscore.

After clicking on “OK”, the recording starts, and we perform exactly the steps that are to be executed automatically at the push of a button.

When we have completed all the steps, we finish the recording in the register:

“Developer Tools” – “Stop Recording”

See picture:

Ads
Makro in Excel aufzeichnen
Makro in Excel erstellen
Makro in Excel 2016 erstellen
Leerzeile in dynamische Tabelle einfügen
Makro Aufzeichnung beenden

3. Insert buttons in Excel

3. Insert buttons in Excel

Of course, we would have been able to set a keyboard shortcut to create our macro in this way. But since we like it firstly comfortable, and secondly probably after some time of non-use anyway no one has noted the shortcut, we will use a button for this purpose.

It’s always there, and it just looks fancier.

To add a button, click on the tab:

“Developer Tools” on “Paste”

and find out there the element “button” out.

In order for our created button to execute our macro, we have to assign the corresponding macro to it.

To do this, right-click on the button, select “Assign Macro” and select the macro from your list (if you have created several macros).

Of course, you can also assign a unique name to the button by right-clicking on “Edit Name”.

See picture: (click to enlarge)

Button in Excel einfügen
Button in Excel 2016 umbenennen
Makro einer Schaltfläche in Excel zuweisen

You can now transfer all entries from one list to another at the touch of a button.

As you have seen, the process is far less complicated than it first appeared. Of course, you can use the macro function in Excel to automate significantly more complex processes, which is why you are welcome to be creative at this point.

And always remember: Excel does not bite ;)

Blogverzeichnis Bloggerei.de

Of course, we would have been able to set a keyboard shortcut to create our macro in this way. But since we like it firstly comfortable, and secondly probably after some time of non-use anyway no one has noted the shortcut, we will use a button for this purpose.

It’s always there, and it just looks fancier.

To add a button, click on the tab:

“Developer Tools” on “Paste”

and find out there the element “button” out.

In order for our created button to execute our macro, we have to assign the corresponding macro to it.

To do this, right-click on the button, select “Assign Macro” and select the macro from your list (if you have created several macros).

Of course, you can also assign a unique name to the button by right-clicking on “Edit Name”.

See picture: (click to enlarge)

Button in Excel einfügen
Button in Excel 2016 umbenennen
Makro einer Schaltfläche in Excel zuweisen

You can now transfer all entries from one list to another at the touch of a button.

As you have seen, the process is far less complicated than it first appeared. Of course, you can use the macro function in Excel to automate significantly more complex processes, which is why you are welcome to be creative at this point.

And always remember: Excel does not bite ;)

Blogverzeichnis Bloggerei.de

Search for:

About the Author:

Michael W. SuhrDipl. Betriebswirt | Webdesign- und Beratung | Office Training
After 20 years in logistics, I turned my hobby, which has accompanied me since the mid-1980s, into a profession, and have been working as a freelancer in web design, web consulting and Microsoft Office since the beginning of 2015. On the side, I write articles for more digital competence in my blog as far as time allows.

Search by category:

Search for:

About the Author:

Michael W. SuhrDipl. Betriebswirt | Webdesign- und Beratung | Office Training
After 20 years in logistics, I turned my hobby, which has accompanied me since the mid-1980s, into a profession, and have been working as a freelancer in web design, web consulting and Microsoft Office since the beginning of 2015. On the side, I write articles for more digital competence in my blog as far as time allows.

Search by category:

Popular Posts:

2910, 2025

Excel Tutorial: How to quickly and safely remove duplicates

October 29th, 2025|Categories: Shorts & Tutorials, Microsoft Excel, Microsoft Office, Office 365|Tags: , |

Duplicate entries in your Excel lists? This distorts your data. Our tutorial shows you, using a practical example, how to clean up your data in seconds with the "Remove Duplicates" function – whether you want to delete identical rows or just values ​​in a column.

2710, 2025

Dynamic ranges in Excel: OFFSET function

October 27th, 2025|Categories: Shorts & Tutorials, Microsoft Excel, Microsoft Office, Office 365|Tags: , |

The OFFSET function in Excel creates a flexible reference. Instead of fixing =SUM(B5:B7), the function finds the range itself, e.g., for the "last 3 months". Ideal for dynamic charts or dashboards that grow automatically.

2710, 2025

Mastering the INDIRECT function in Excel

October 27th, 2025|Categories: Shorts & Tutorials, Microsoft Excel, Microsoft Office, Office 365|Tags: , |

The INDIRECT function in Excel converts text into a real reference. Instead of manually typing =January!E10, use =INDIRECT(A2 & "!E10"), where A2 contains 'January'. This allows you to easily create dynamic summaries for multiple worksheets.

2310, 2025

From assistant to agent: Microsoft’s Copilot

October 23rd, 2025|Categories: Shorts & Tutorials, Artificial intelligence, AutoGPT, ChatGPT, Homeoffice, LLaMa, Microsoft Excel, Microsoft Office, Microsoft Outlook, Microsoft PowerPoint, Microsoft Teams, Microsoft Word, Office 365, TruthGPT, Windows 10/11/12|Tags: , , , |

Copilot is growing up: Microsoft's AI is no longer an assistant, but a proactive agent. With "Vision," it sees your Windows desktop; in M365, it analyzes data as a "Researcher"; and in GitHub, it autonomously corrects code. The biggest update yet.

2110, 2025

Windows 12: Where is it? The current status in October 2025

October 21st, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , , |

Everyone was waiting for Windows 12 in October 2025, but it didn't arrive. Instead, Microsoft is focusing on Windows 11 25H2 and "Copilot+ PC" features. We'll explain: Is Windows 12 canceled, postponed, or is it already available as an AI update for Windows 11?

2010, 2025

Blocking websites on Windows using the hosts file

October 20th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , , , |

Want to block unwanted websites in Windows? You can do it without extra software using the hosts file. We'll show you how to edit the file as an administrator and redirect domains like example.de to 127.0.0.1. This will block them immediately in all browsers.

Offers 2024: Word & Excel Templates

Anzeige

Popular Posts:

2910, 2025

Excel Tutorial: How to quickly and safely remove duplicates

October 29th, 2025|Categories: Shorts & Tutorials, Microsoft Excel, Microsoft Office, Office 365|Tags: , |

Duplicate entries in your Excel lists? This distorts your data. Our tutorial shows you, using a practical example, how to clean up your data in seconds with the "Remove Duplicates" function – whether you want to delete identical rows or just values ​​in a column.

2710, 2025

Dynamic ranges in Excel: OFFSET function

October 27th, 2025|Categories: Shorts & Tutorials, Microsoft Excel, Microsoft Office, Office 365|Tags: , |

The OFFSET function in Excel creates a flexible reference. Instead of fixing =SUM(B5:B7), the function finds the range itself, e.g., for the "last 3 months". Ideal for dynamic charts or dashboards that grow automatically.

2710, 2025

Mastering the INDIRECT function in Excel

October 27th, 2025|Categories: Shorts & Tutorials, Microsoft Excel, Microsoft Office, Office 365|Tags: , |

The INDIRECT function in Excel converts text into a real reference. Instead of manually typing =January!E10, use =INDIRECT(A2 & "!E10"), where A2 contains 'January'. This allows you to easily create dynamic summaries for multiple worksheets.

2310, 2025

From assistant to agent: Microsoft’s Copilot

October 23rd, 2025|Categories: Shorts & Tutorials, Artificial intelligence, AutoGPT, ChatGPT, Homeoffice, LLaMa, Microsoft Excel, Microsoft Office, Microsoft Outlook, Microsoft PowerPoint, Microsoft Teams, Microsoft Word, Office 365, TruthGPT, Windows 10/11/12|Tags: , , , |

Copilot is growing up: Microsoft's AI is no longer an assistant, but a proactive agent. With "Vision," it sees your Windows desktop; in M365, it analyzes data as a "Researcher"; and in GitHub, it autonomously corrects code. The biggest update yet.

2110, 2025

Windows 12: Where is it? The current status in October 2025

October 21st, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , , |

Everyone was waiting for Windows 12 in October 2025, but it didn't arrive. Instead, Microsoft is focusing on Windows 11 25H2 and "Copilot+ PC" features. We'll explain: Is Windows 12 canceled, postponed, or is it already available as an AI update for Windows 11?

2010, 2025

Blocking websites on Windows using the hosts file

October 20th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , , , |

Want to block unwanted websites in Windows? You can do it without extra software using the hosts file. We'll show you how to edit the file as an administrator and redirect domains like example.de to 127.0.0.1. This will block them immediately in all browsers.

Offers 2024: Word & Excel Templates

Anzeige
Ads

Popular Posts:

Search by category:

Autumn Specials:

Anzeige
Go to Top