Just put it in the VBA project for that workbook. You will have to set the Excel Macro Security Level to Medium. This will prompt the user to enable macros. If it's set to high, it will not run without a digital certificate.
If you want it to automatically run when the file is opened, use the Workbook_Open() sub in the ThisWorkbook object to call your macro. If you only want to update upon save, use the Workbook_Save() event to trigger your macro.
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.