Excel macros vs automation software: what to keep
It's Friday afternoon and the payroll file depends on a spreadsheet nobody in the office understands. Keep macros that are understood, limited in scope and easy to recover when they fail; move important jobs that depend on a single laptop or a departed colleague. Retire routines whose job has disappeared or is already covered by another system.
Struan · Updated
Macros and scripts against automation tools
Picture a building services contractor turning engineers' weekly timesheets into a payroll file. A former office manager wrote the Excel macro. It runs on one laptop every Friday afternoon, and nobody now in the office can read the code. The last time it broke, the payroll file was two days late.
Excel macros vs automation software comes down to who keeps Friday payroll working. Macros repeat spreadsheet steps; scripts give computers instructions. Automation tools connect systems with shared access and logs.
| At work | Macros and scripts | Automation tools and AI |
|---|---|---|
| Where it runs | One file or one laptop | Shared service your team can see |
| Who can change it | Whoever understands the code | Anyone trained, with permissions |
| When the author leaves | Often nobody can fix it | Steps are visible and logged |
| Messy input | Breaks on unexpected data | AI can read and flag oddities |
| Security | Macros need careful trust settings | Access set by account and role |
| Cost to keep | Free until it breaks | A plan or licence, plus looking after |
| Best for | Small, personal spreadsheet tasks | Jobs that cross systems or teams |
Take stock of what you have
You'll want a list of every macro before replacing any, starting with Friday's payroll file. Note each job, where it runs, who understands it and what happens if it fails.
Sit down with whoever prepares the engineers' wages and trace the Friday file from timesheet to payroll. Note the approved timesheet, where corrections happen and who accepts the finished file.
Your payroll system might already accept the engineers' timesheets directly. If it does, test that import with payroll staff and retire the extra conversion once they've checked the result.
Keep, move or retire
We'd move the contractor's payroll job first: wages depend on code nobody understands. Your small spreadsheet shortcuts deserve their own decision. Check whether an existing system already does each job before rebuilding it.
- The job has changed
- Payroll now imports timesheets directly
- Nobody uses the output
For the contractor, automation tools suit the handover from timesheets to payroll, with agreed access, logs and support. AI is worth testing on engineers' notes and unclear entries. Keep wage calculations and approval rules explicit. A fluent explanation of a timesheet is not evidence that the payroll totals are correct.
Keep the macro when
- It is short and two people understand it
- It works on files you create
- A day's failure costs nothing serious
Move it when
- It feeds payroll, invoices or clients
- It lives on one laptop
- Only a former colleague understood it
The security question you can't skip
Your contractor's payroll workbook gets emailed between laptops. If a blocked macro warning appears on Friday, ask IT to check its source before running it. After a two-day payroll delay, you'll want an agreed backup route for preparing wages while IT checks the file.
You'll need IT to agree who can change the payroll workbook and where its approved copy lives, so staff can check emailed attachments against it.
A macro feeding payroll deserves an owner, a log and a backup plan.
How we'd help you choose
We'd start with the payroll macro because its last failure left the contractor's file two days late. Before testing a replacement, we'd agree what the file should look like and who signs it off.
List the existing routines
Record the job, location and people who understand each routine.
Mark the risky jobs
Start with wages, invoices and client commitments.
Test a replacement
Agree inputs, permissions and the expected output.
Run both alongside each other
Compare results and investigate every unexplained difference.
Retire the old routine
Keep a reference copy and record the switch date.
While you compare results, name which process produces the live payroll file. The other stays in testing so nobody submits wages twice. Your payroll colleague checks corrected timesheets and missing entries, then accepts the results and rehearses what to do if the replacement stops.
Where AI fits, we recommend the best AI for each job and work alongside the Copilot or ChatGPT you already have. We connect AI to your systems with agreed permissions, train your team and keep the setup in step with your business. Each step the AI takes in place of a macro is logged, and work over the limit you set waits for your yes.
Bring us the timesheet routine your team worries about each Friday. We'll talk through where fixed rules or AI fit and what your payroll colleague checks.
Questions and answers
Is an Excel macro still safe to use?
Your IT provider should check a macro's source, access and trust settings before you rely on it. Keep an approved copy with instructions and someone able to maintain it. For the contractor, that means knowing which payroll workbook is approved when an attachment arrives on Friday.
What can replace VBA macros in Microsoft 365?
Microsoft's Office Scripts automate everyday Excel tasks, with an action recorder and scheduling through Power Automate. Its desktop flows automate repeated desktop processes, including Excel and older applications. You'll need to match the replacement to your task and agree access before rebuilding the payroll routine.
Can AI read and explain an old macro?
AI can draft an explanation of your old macro for someone competent to verify against the code and test files. You'll need an approved business account and a copy with passwords and confidential details removed. Payroll changes still need testing against the expected wage totals.
Is it worth rewriting a macro that still works?
You'll want to know whether colleagues can maintain it, recover the file and spot an incorrect result. A small, understood routine often deserves to stay. The contractor's payroll macro needs attention because nobody can repair it and its last failure delayed the file.
Sources
AI automation, RPA or scripts: which suits which job
Choose AI automation, RPA or a working macro by the job: copying remittances, formatting ledger exports or drafting replies to disputed invoices.
- Term explainedWhat is robotic process automation (RPA)? A plain guideRobotic process automation copies, clicks and types through fixed tasks.
- ComparisonRPA and AI: which one your back office needsCompare RPA and AI for contractor invoices: AI reads varied documents, RPA enters approved figures and your property manager keeps the spending decision.
- Term explainedWhat is intelligent automation? Plain English for ownersIntelligent automation combines AI reading with fixed rules.
- Term explainedWhat is hyperautomation, and does a small firm need it?What is hyperautomation?
- ReviewUiPath robotic process automation: a small-firm reviewUiPath robotic process automation reviewed for UK firms: screen work, Studio, plans and the people needed to build and maintain your robots.
- ReviewBlue Prism RPA review: what UK owners should knowBlue Prism RPA reviewed for UK firms: managed cloud delivery, governance, maintenance and whether an enterprise approach fits your claims work.
Keep, move or retire
Choosing between Macros and scripts and Automation tools and AI? Bring a job your team does every week. We’ll help you choose and show you how we’d set the AI up with your files and your rules.