Modernising Excel VBA macros for business workflows
Assess workbook dependencies before choosing Office Scripts, a supported desktop macro or a custom workflow.
Map what the macro actually does
Identify who starts the workbook, the sheets and files it changes, and any desktop applications or external systems it uses. Ask users to demonstrate a normal run and an exception, such as a missing customer reference. Preserve a verified copy and document the expected result before considering a change.
Compare the options
Microsoft says Excel for the web cannot run VBA macros, while Office Scripts can be run manually or through Power Automate. A maintained desktop macro may remain suitable for some workflows; a cloud script or custom application may better fit others. Check the devices, access, support and current licences needed for the chosen approach.
Identify behaviour that needs redesign
Microsoft notes that Office Scripts do not support Excel-level events and differ from desktop VBA. A macro that starts when a workbook opens or uses a desktop add-in therefore needs an explicit alternative, not just a syntax conversion. Map each business rule, approval and external handoff, including how a failed run is noticed.
Test and transition safely
Use an isolated copy with fictional data to compare a normal calculation, an invalid input and a repeated run against the agreed result. Mock any CRM, email or external service connections. Assign an owner for the new workflow, agree a recovery route and train users before changing the live process.