How to Record a Macro in Excel
A macro is a code written in VBA (Visual Basic for Applications) that allows you to run a chunk of code whenever it is executed. When you record a macro, Excel closely watches the steps you’re taking and notes it down in a language that it understands – which is VBA.
And since Excel is a really good note taker, it creates a very detailed code (as we will see later in this tutorial). Now, when you stop the recording, save the macro, and run it, Excel simply goes back to the VBA code it generated and follows the exact same steps.
[mai mult...]