Step by step
- Open a sample workbook on an account with Office Scripts enabled. On the Automate tab, choose Record Actions.
- Select a header range, apply bold formatting and set the fill color. Stop recording and give the script a descriptive name.
- Repeat the test on a copy with the same layout. Check whether the recorded script targets a fixed address or the active selection.
- Open the script editor to inspect the recorded steps before sharing it with colleagues.
Automate Reports in Excel using Office Scripts - Time Saving Tip to Auto Format Reports
Practice workspace
Start recording, make the header bold and choose a blue fill. Stop recording and run the saved formatting on a fresh worksheet.
Lesson quiz
Answer three questions to see your level in this lesson.
