Ask Flex / Automating repetitive tasks
How do you automate Excel reports using macros?
A macro is Excel recording your mouse clicks and keystrokes once so it can replay them with one click, which is why Microsoft's own example is a monthly report. You press Record Macro on the Developer tab, do the steps once, press Stop Recording, and from then on the macro does them for you.
Record it once. Replay it monthly.
Turn on the Developer tab
It's hidden at first. Microsoft shows how.
Practice on a copy
Record on a copy of the file, not the real one.
Record one job at a time
Format the totals. Stop. That's one macro.
Let AI explain the code
Paste it in. Ask what each line does.
I want to record an Excel macro for a report I make every month. Here are the steps I do by hand, in order: [list them]. Tell me, in plain words, exactly what to click to record it, which of my steps will record well and which ones won't, and what to do if the macro stops with an error. I'm on [Windows or Mac].
Before you paste work stuff into any AI, check what your company allows.Hand It Off or Keep It
Ten everyday office tasks, one at a time. Tap whether you'd hand it to AI or keep it. See Flex's call and why. A two-minute game.
Play a round
Learn this in the Lab, free
A free group where you learn to use Claude for the repeat parts of your job: email, reports, forms. Start with a 15-minute chat that maps what Claude can do in your job.
- Free
- No coding
- Works in Claude
What's the easiest way to use macros to automate repetitive tasks?
Record one. Developer tab, Record Macro, do the steps once, Stop Recording. No code needed to start.
How do I automate Excel reports using VBA?
VBA is the code behind a macro. Record a macro first, then paste its code into a chat AI and ask for the change you want.
How do I make automated reports in Excel without macros?
Formulas and one clean template get you most of the way. Flex has a page on it.
Want to hand this to Claude?
Start in the Lab with the free 9-to-5 Job Triage: a 15-minute chat that maps what Claude can do in your job. Everything inside is free.