A Macro in Excel is a set of VBA code, which is more similar to Visual Basic code. A VBA (Visual Basic for Applications) code can be directly execute without compiling. In this article, Learn how to create macro in Excel 2010 by enabling the Developer tab. Once this option is enabled, “Record Macro” button can be used to record set of operations done on excel to be recorded and then re-executed whenever needed. This option is very much helpful for Excel VBA developers when syntax for any of the commands is not known.