How to Automatically Format Word Footnote Indents and Tabs
Question details
The user needs a way to automatically standardize inconsistent first-line and hanging indents in footnotes and replace the default spaces with tabs after footnote numbers across a 90+ page document.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Formatting a large, lengthy document with numerous existing footnotes where manual adjustment is highly impractical.
- Observed behavior
- Footnotes have inconsistent hanging and first-line indents, and Word natively inserts a space instead of a tab character after footnote reference numbers.
Before applying macros or modifying global text styles, save a backup copy of your document to ensure you do not accidentally overwrite any intentional custom formatting.
Modify Footnote Text Style and Use a VBA Macro
Set up a consistent hanging indent by modifying the built-in Footnote Text style, then use a VBA macro to bulk-replace spaces with tabs in existing footnotes.
Microsoft Word naturally inserts a space instead of a tab after a footnote number. Because there is no native toggle to change this behavior, fixing inconsistent indents across hundreds of footnotes requires two steps: standardizing the 'Footnote Text' style, and running a short VBA script to swap those spaces for tabs.
Go to the Home tab, open the Styles pane, find and right-click 'Footnote Text', and select 'Modify'.
In the Modify Style dialog, click 'Format' at the bottom left, select 'Paragraph', then under 'Indentation', choose 'Hanging' from the 'Special' dropdown. Set your desired measurement and click 'OK'.
Press Alt + F11 (on Windows) or Option + F11 (on Mac) to open the Microsoft Visual Basic for Applications window.
Click 'Insert' > 'Module' and paste the following code into the window: Sub FmtFtNts() Application.ScreenUpdating = False Dim FtNt As Footnote For Each FtNt In ActiveDocument.Footnotes FtNt.Range.Characters.First.Previous.Text = vbTab Next Application.ScreenUpdating = True End Sub
Press F5 or click the 'Run' button on the toolbar to execute the code. This will instantly replace the space with a tab for all existing footnotes in your document.

Format Footnotes and Long Documents with WPS Writer
WPS Writer offers an intuitive interface to manage footnotes, adjust paragraph styles, and maintain consistent formatting across extensive documents effortlessly.
- 1. Open Document in WPS Writer: Launch WPS Office and open your .docx file containing the footnotes.
- 2. Access the Styles Pane: Go to the 'Home' tab and click the 'Styles and Formatting' icon to open the right-side style pane.
- 3. Modify Footnote Style: Locate the 'Footnote Text' style in the list, hover over it, click the drop-down arrow, and select 'Modify'.
- 4. Apply Hanging Indent: Click 'Format' in the bottom left, select 'Paragraph', and apply a 'Hanging' indent to standardize your footnote alignment across the entire document.

Frequently Asked Questions
Why does Word insert a space instead of a tab in footnotes?
By default, Microsoft Word's footnote feature is hardcoded to insert a space character after the superscript reference number. There is no built-in setting to change this default behavior to a tab, which is why a macro is required for bulk formatting.
Will the Footnote Text style update automatically if I change it?
Yes, if you check the 'Automatically update' box in the Modify Style dialog, any direct manual formatting changes you make to one footnote's paragraph will automatically apply to all other footnotes using that style.
Does the VBA macro work on both Windows and Mac versions of Word?
Yes, the provided VBA macro is fully compatible with both the Windows and macOS versions of Microsoft Word, provided that your specific version supports VBA scripting.
How do I format new footnotes after running the macro?
The macro only processes footnotes that already exist in the document at the time it is run. For new footnotes inserted via 'References > Insert Footnote', you will manually need to insert a tab, or simply run the macro again before finalizing the document.




