To add the .vba script to an Excel file, first make sure the file is saved as a "macro-enabled workbook," with extension .xlsm. Then, open the Visual Basic Editor (If you enabled the "Developer" tab ...