Why does Excel contain two macro languages?
Excel’s two macro languages are Visual Basic for Applications (VBA) and the Excel version 4.0 macro language (XLM). Both languages give you nearly complete control over Excel, but they are very different. Microsoft included both languages in Excel 5 and Excel 95 to ease the transition from XLM to VBA.