For many repetitive Excel jobs, Power Query or a macro is enough. If you start it on your own machine, the data always arrives in the same kind of file, and you can fix a mistake by hand the next day, you do not need a custom system. You need more than a macro when the process has to run with nobody present, when colleagues would use the macro from a browser, when people and automated processes write to the same file at once, or when the macro issues invoices. In those cases Microsoft's documentation or the Hungarian decree on invoicing programs draws the line. You need a custom system when the spreadsheet has become a register that many people maintain, its rows refer to each other, and your process does not fit a ready-made program. In between, it is often enough to replace one process: Excel stays, and only the typing goes away.

What decides which one you need?

Answer these six questions about your own work.

QuestionExcel is enough ifYou need more ifWhat to look at
Who starts it?Someone starts it on their own machine and waits for itIt has to run with nobody present, on a scheduleOffice Scripts, a custom system
Where does the macro run?In desktop ExcelPeople would also run it from a browserOffice Scripts, a custom system
Who writes to the file?One person, or several on OneDriveSeveral from a shared network folder, or a person and an automated process at onceOneDrive, SharePoint Online, a database
Where does the data come from?Always the same kind of fileSomeone types it in from documentsReplacing one process, Excel stays
What happens to a mistake?You fix it by hand the next dayIt only surfaces much laterData validation, a database
What is the result?A report, a summary, an import fileAn invoiceAn invoicing program

If the second column is true in every row, stay in Excel.

What is Power Query enough for, and when do you need a macro?

If you combine data from several files and build reports from them, start with Power Query. According to Microsoft's overview, Power Query records the transformation as steps, you can easily refresh the finished query later, and it does not change the source data.

If formulas and Power Query are not enough, a macro comes next. It is meant for work you start in desktop Excel and stay present for. VBA, the language of macros, is part of desktop Excel and needs no special license. A macro runs with the same clearance as Excel, so it has full access to your computer. That is why you should try formulas and Power Query first, and a macro only after them.

Can a macro run with nobody present?

Microsoft does not currently recommend or support it. Its comparison of VBA and Office Scripts says that in every supported scenario a user attends the macro's execution. With nobody present, Office may behave unstably or deadlock. On an unexpected error it asks in a dialog box, and the run can then stop until it gets an answer. A separate license exists for running with no user present (Microsoft 365 for unattended RPA), but Microsoft states that unexpected behavior in that situation is not a defect.

Within Excel, this is the job of Office Scripts: with Power Automate they run on a schedule without even opening Excel, but a script run this way does not refresh data connections other than Power BI sources, so do not build a scheduled Power Query refresh on it. According to Microsoft's list Office Scripts need a business or educational Microsoft 365 subscription, and the list includes Office 365 Business and Office 365 Business Premium, so check whether yours is on it. If you do not have such a subscription, it is worth moving the process out of Excel.

Can several people work in the same file?

Yes, if the file is in the right place. The workbook has to be saved to OneDrive or a SharePoint Online library, and this also holds for a macro-enabled .xlsm file. In a shared network folder only one person can edit the workbook at a time. If a single colleague opens the file with a version of Excel that does not support co-authoring, everyone else gets a message that the file is locked.

A macro still runs only in desktop Excel. In a browser you cannot create, run or edit macros, but you can open and edit the workbook.

Do not circulate a macro-enabled file by email. Office blocks macros by default in files from the internet, and that includes email attachments. The same can happen on an internal network if the location is not identified as trusted.

If an automated process also writes to the file, Microsoft warns against writing to the same workbook from several places at once, because this can cause merge conflicts and inconsistent data. Microsoft's own Excel connector, Excel Online (Business), handles files of up to 25 MB, and after its last use the workbook can stay locked for up to 6 minutes.

How far can you trust what is in the spreadsheet?

Excel can check input and show who changed what, but the check can be bypassed. Data validation restricts what can go into a cell, and Show Changes shows who changed what and when, for the past 365 days. That list is only complete if everyone uses a version of Excel that supports co-authoring: according to Microsoft, edits made in a one-time purchase or older version of Excel are not tracked and also clear the Changes pane. A plain paste, however, does not trigger validation, and Microsoft did not intend worksheet protection as a security feature: it only prevents changes to locked cells.

Excel cannot enforce that rows refer to each other correctly: it does not handle relational data, so it cannot require that every new order belongs to an existing customer. You can narrow the input with data validation, for example a drop-down list, but as described above that check can be bypassed. A database can enforce it.

If the spreadsheet holds personal data, GDPR applies in Excel too: your company has to keep the data appropriately secure and must be able to prove it.

If your work spans several systems or has to run with nobody present, the right tool is decided step by step. The details are on the service page. Business process automation for SMEs

When do you really need a custom system?

When the spreadsheet has become a register: many people maintain it, and its rows refer to each other. According to Microsoft's comparison, a database is better for managing data and Excel for analyzing it. You might want to move the worksheet into a database when it has become too large and complex and many other users need access to it. The number of rows alone is not a reason to change: a worksheet holds 1,048,576 rows by 16,384 columns.

In a custom system the data goes into a database and the program checks the rules. It has to be built and maintained, so it does not pay off as long as the options above are enough. First check whether a ready-made program exists for the job.

Can a macro issue an invoice?

Do not use it for that. Issue invoices with an invoicing program, and at most let the macro prepare the data. Under Decree 23/2014 (VI. 30.) NGM, in its state of 1 January 2026, an invoicing program is any computer program, program function or program module suitable for issuing invoices. It has to guarantee continuous numbering with no gaps or repeats, include the function called "adóhatósági ellenőrzési adatszolgáltatás" (data export for tax audits), and send the invoice data to NAV, the Hungarian tax authority, immediately on issue and in XML. The documentation duties also apply to taxpayers who use a self-developed program.

We read the decree to mean that a macro issuing invoices may fall under this definition. According to NAV's 2014 FAQ, the decree defines an invoicing program as a general collective term that includes all IT solutions suitable for issuing invoices. The FAQ does not mention macros or Excel, so ask your accountant or tax adviser. Excel can stay for the preparation: if your invoicing program can import, you can load the finished file.

How future-proof is a macro?

We found no Microsoft announcement that VBA is going away. VBScript is a different matter: Microsoft has deprecated it, and around 2027 it will no longer be enabled by default. The later phases affect macros that call .vbs scripts. According to Microsoft's 2025 post, macros that use VBScript regular expressions keep running on Microsoft 365 version 2508 or later, but do not run on older Office versions if VBScript is disabled or no longer in Windows. Follow Microsoft's announcements, and ask whoever wrote the macro whether it uses VBScript.

Do not build a process on a preview feature: Excel's COPILOT function was a preview, has not been available since 14 September 2026, and cells that use it return an error on recalculation. We cover what Microsoft 365 Copilot is enough for in a separate article.

What if you only want to stop the typing?

Then you do not have to replace Excel: your colleague keeps working in Excel, but no longer types in the data. We take on replacing one process for a fixed price: the system fills an Excel or CSV file from documents that reach a mailbox or a folder. Anything uncertain lands on a separate sheet for your colleague to review. Nothing is written directly into the ERP or any other program: the result is a file that your program imports. If it does not pay off, or there is a cheaper way, we will tell you so in writing.

If several processes are involved, or the data has to reach an ERP or CRM, our page on automating repetitive business processes describes which step needs RPA or a script and where AI is needed. At a freight company, the larger system we built for supplier invoices processes 85% of the invoices without human intervention, and processing time dropped from 3 days to 4 hours.

What should you do with your own spreadsheet?

  • If the job runs rarely and takes little time: leave it as it is.
  • If you work alone: stay with Excel and learn Power Query. We do not work with one-person businesses.
  • If your macro works and you start it yourself: it can stay. Have someone write down what it does, so that how it works is not in one person's head, and have it checked for VBScript use.
  • If you need a macro but nobody can write it: an Excel specialist or a course is enough. You do not need a custom system for this.
  • If colleagues would also open the file in a browser: put the workbook on OneDrive or in a SharePoint Online library, and start the macro from desktop Excel.
  • If your macro issues invoices: talk to your accountant or tax adviser, and move to an invoicing program.
  • If a colleague regularly types data from documents into Excel: send us a description of the task, and we will tell you in writing whether it fits a fixed-price job.
  • If the process has to run with nobody present or touches several systems: write down its steps and see which tool suits which step.
  • If many people maintain the spreadsheet and it has become a shared register: first check whether a ready-made program exists for it. You need a custom system when your process does not fit one.