« Windows 10 - logging out and restarting | Main | Screen Time »

Using Macros on Google Sheets

Using keyboard shortcuts for certain things comes naturally to me. Most popular functions have them -- ctrl+c and ctrl+v for copy and paste, ctrl+tab to go to the next tab in your browser, and ctrl+tab+shift to go back a tab. Not everything that could have a shortcut does. I stumbled across Macros while I was trying to find how to add a new row to my spreadsheet on Google Sheets. There is no shortcut. I was about to enter 10 more rows, and although I could have done it manually, it just felt like there should be a way to do it faster. And that way was through Macros.

How to set up a keyboard shortcut through Macros on Google Sheets

1. Navigate to the Macros option through the Tools option on the toolbar.

Macros1

2. Once you click Record macro, a popup will show up at the bottom of the screen.

I suggest changing the box from absolute references to relative references, otherwise your changes will only affect the cells that are being changed during the recording. For example, when I was creating a macro for entering a row, I had absolute references selected. This meant, no matter where I was on the sheet when I did the keyboard shortcut, it would go back to the place where I originally recorded the macro and insert a row there. I had to change it to relative so that it would do the action where ever I was located on the sheet.

Macros3

3. Do the action. It will record that action in the macro.

Macros2

Macros4

4. Save the macro, and add a name. One bad thing about these macros is that you are limited to Ctrl+Alt+Shift+a number between 0 and 9, so you can only have 10 macros.

Macros5

5. Your macro has been saved and is available to use. You can access it through the toolbar or through its shortcut you created.

Macros6

Please note that the first time you try to use a macro, it will ask you for permission to run. Give it permission to run, then you're ready to use it!

Macros7

You can use this for various tasks, such as coloring a cell/entire row or column, changing a font, and anything else you can do through regular commands can be put into a macro. I just created one that changed a font to bright green and bolded Comic Sans.

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Post a comment