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.

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.

Compare the current routine with a properly configured replacement
At workMacros and scriptsAutomation tools and AI
Where it runsOne file or one laptopShared service your team can see
Who can change itWhoever understands the codeAnyone trained, with permissions
When the author leavesOften nobody can fix itSteps are visible and logged
Messy inputBreaks on unexpected dataAI can read and flag oddities
SecurityMacros need careful trust settingsAccess set by account and role
Cost to keepFree until it breaksA plan or licence, plus looking after
Best forSmall, personal spreadsheet tasksJobs that cross systems or teams

Compare AI with automation that follows fixed steps

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.

What to do about a macro nobody can fix

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.

Signs a routine can retire
  • 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

Check the upkeep costs of replacing a macro with a bot

See Microsoft Power Automate for repeated tasks

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.

  1. List the existing routines

    Record the job, location and people who understand each routine.

  2. Mark the risky jobs

    Start with wages, invoices and client commitments.

  3. Test a replacement

    Agree inputs, permissions and the expected output.

  4. Run both alongside each other

    Compare results and investigate every unexplained difference.

  5. 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

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.

See how we keep AI working in your business