Bui Thanh ChienWordPress · Excel · automation · Vietnam, GMT+7

Invoice automation in Excel VBA and Google Apps Script

A monthly orders sheet becomes one invoice per customer, a summary and an overdue flag, with one click.

Demo project, fictional business · Excel VBA and Google Apps Script

The Summary sheet the macro builds: eight invoices, totals and overdue lines highlighted
The Summary sheet after the macro ran: 8 invoices, grand total 15,066.19, 9 overdue lines in red

Downloads

The problem

Every month the owner of a small business copies orders into a Word or Excel invoice by hand, one customer at a time, then checks by eye which invoices are late. It takes an afternoon and one typo changes a total. Here the orders go into one sheet and one click does the rest.

Before and after

The Orders sheet: one row per order, the first rows shown
Before: the Orders sheet, one row per order (54 rows, first rows shown)
One generated invoice sheet with overdue lines in red and subtotal, tax and total
After: one of the 8 generated invoice sheets, overdue lines in red

What the macro does

How it was tested

What I built

Built with: Excel VBA, Google Apps Script, Node (test harness), Python (expected totals)

Send a sample of your monthly sheet and I will show you the invoices it makes.Contact me