Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 829 Bytes

readme.md

File metadata and controls

19 lines (14 loc) · 829 Bytes

Google Apps Script Auto Number Headings

Modified version of this script that adds a Headings tools Document menu allowing you to:

  • auto number Heading
  • clear Headings numbers

How to auto number Google Documents Headings:

  1. Open your document > Tools > Script editor...
  2. Start a blank project
  3. Paste the code from the code.gs file and save with your preffered name
  4. Select Run > onOpen and authorize the script for the first time
  5. Select Run > onOpen
  6. Change to your Document and try the functions on the Headings tools custom menu created.

Disclaimer: you may have issues with empty Headings.. But you can always fix them and run action again.