Sometimes we want to automate some steps in Excel to save us time, however it’s cumbersome to code the exact macro for it – especially as a VBA beginner.

But you know what?¬† There is an easy way around ūüôā

You can try out the Macro Recorder to mimic each step inside Excel and reuse those steps next time around.  How cool is that?!

Make sure your Excel ribbon has the Developer Tab enabled following this tutorial.

Turn on the Macro Recorder, do the steps, stop the Macro Recorder, run the Macro and bam! Excel will repeat the exact same steps you just did!

I explain how you can do this below:

DOWNLOAD EXCEL WORKBOOK

STEP 1: Go to Developer > Record Macro

How to Use Macro Recorder in Excel

Go with the default name Macro1 and click OK.

How to Use Macro Recorder in Excel

 

STEP 2: Now it’s starting to record! Here’s what we want to do:

  • Select a Cell (A8 in our example below)
  • Click Bold
  • Click Italic
  • Select the highlight color to be yellow

How to Use Macro Recorder in Excel

Go to Developer > Stop Recording

How to Use Macro Recorder in Excel

 

STEP 3: Now let us try out the macro in action.

Select the rest of the cells that we want to apply the actions on.

Go to Developer > Macros

How to Use Macro Recorder in Excel

Make sure Macro1 is selected and click Run.

How to Use Macro Recorder in Excel

And it’s like magic! The same steps are now applied!

How to Use Macro Recorder in Excel

 

STEP 4: Let us have a look how that magic was done. Go to Developer > Visual Basic

How to Use Macro Recorder in Excel

Go to Modules > Module1. You can see the code that does the following: Setting Bold, Italic, and filling the color with Yellow:

How to Use Macro Recorder in Excel

 

 

Use Macro Recorder in Excel

How to Use Macro Recorder in Excel

HELPFUL RESOURCE:

 

Free Excel Macros & VBA Webinar Training

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

How to Create Your First Macro Button in Excel ... Do you repeat various Excel actions like copy & pasting data, formatting, putting borders etc?Do you know that you can automate your tasks in Excel with a couple of mouse clicks?If you keep on repeating the same thing over and over again, creating an Excel Macro is pe...
How to Swap Values Using Macros in Excel Have you ever wanted to try to swap values from one cell to another? It is possible using Macros in Excel!Plus you also get to learn some programming along the way, how cool is that?Make sure your Excel has the Developer Tab enabled following this tutorial.Here are th...
How to Add a Macro to the Quick Access Toolbar Rib... You have been following our Macro tutorials and are becoming an expert in no time!What if there's a macro that you're using all of the time, day in, day out? We can add a macro to the Quick Access Toolbar Ribbon in Excel for easy access!Make sure your Excel ribbon has the...