Display Character Count in the Microsoft Word Status Bar
Question details
The user wants to display a document's character count in the Microsoft Word status bar.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- The user wants quick access to a character count while editing a Word document.
- Observed behavior
- Word does not provide a permanent built-in character counter on the status bar, but a macro can display a calculated count there.
Open the document in a desktop version of Word that supports VBA macros. If the Developer tab is hidden, enable it through File > Options > Customize Ribbon.
Use a VBA Macro to Display the Character Count
Run a macro when you want to show a calculated document character count in the status bar.
The macro subtracts the number of paragraphs from the document's character count to exclude paragraph marks. It includes spaces, tabs, and manual line breaks.
The count is a snapshot, not a live counter. Run the macro again after editing; Word may also replace the displayed status text.
In Word, select Developer > Visual Basic. In the editor, select Insert > Module.
Paste this code into the module: Sub NumberCharactersStatusBar() Dim strResult As String strResult = ActiveDocument.Characters.Count - ActiveDocument.Paragraphs.Count StatusBar = "Characters = " & strResult End Sub
Return to Word, select Developer > Macros, choose NumberCharactersStatusBar, and select Run. Check the status bar for the result.
To add a button, open File > Options > Quick Access Toolbar, choose Macros from the command list, and add NumberCharactersStatusBar. Alternatively, use File > Options > Customize Ribbon > Keyboard shortcuts: Customize to assign a shortcut under Macros.

Check Character Counts in Word Count
Use Word's built-in dialog if you need a count without creating a macro.
Check Document Character Counts in WPS Writer
Open your document in WPS Writer and use Word Count to check character totals without creating a macro.
- 1. Open the document: Open WPS Writer and select Menu > Open to choose your Word document.
- 2. Select text if needed: Highlight a passage in the document if you want to count only that text; otherwise, leave the document unselected.
- 3. Check the count: Select Review > Word Count and read the character totals in the dialog.

Frequently Asked Questions
Does the Word macro update the character count automatically?
No. Run NumberCharactersStatusBar again from Developer > Macros, or use its assigned button or shortcut, after making changes.
Does the macro count spaces and paragraph marks?
It includes spaces, tabs, and manual line breaks, but subtracts the paragraph count to exclude paragraph marks.
Can I count characters in selected text instead?
Yes. Select the text and open Review > Word Count. The provided macro counts the active document rather than the selection.
Why did the character count disappear from the status bar?
The macro sets temporary status bar text, which Word can replace. Run the macro again to display a fresh count.
Can I check character counts without using a macro?
Yes. In Word, select Review > Word Count to see character totals with and without spaces.




