You can enable macros in Excel using the Trust Center or enable a specific macro from the security warning at the top of a spreadsheet.
On the Developer tab, click the Visual Basic button in the Code group. A Microsoft Visual Basic for Application window will open. Click the Insert tab and select Module in the menu. A new model is ...