How to Count Characters in PowerPoint Slides and Notes Using VBA
Question details
The user needs to find the total character count across all slides and speaker notes in a PowerPoint presentation.

- Product
- PowerPoint
- Device & OS
- not provided
- Scenario
- Checking the exact character length of a presentation to meet specific submission guidelines or strict length limits.
- Observed behavior
- PowerPoint lacks a built-in character count tool, requiring the use of a VBA macro to iterate through text boxes, shapes, and notes manually.
Ensure you have saved a backup of your presentation and enabled the Developer tab in your PowerPoint ribbon so you can easily access the VBA Editor.
Use a Basic VBA Macro to Count Characters in Standard Shapes and Notes
This method uses a straightforward VBA script to loop through standard text boxes, placeholders, and speaker notes across your presentation to calculate the total character count.
Since PowerPoint does not natively track character metrics, writing a short script in the Visual Basic for Applications (VBA) Editor is the most efficient way to extract this data.
Launch your presentation in PowerPoint and press the Alt + F11 keys on your keyboard to open the Microsoft Visual Basic for Applications window.
In the VBA Editor, click on 'Insert' in the top menu bar, then select 'Module' to create a blank script window.
Write or paste a VBA script designed to iterate through 'ActivePresentation.Slides'. The code should check 'Slide.Shapes' and 'Slide.NotesPage.Shapes' to see if they contain a text frame, and then add the character length to a running total.
Press F5 or click the Run button to execute the code. A message box will pop up displaying the total character count for your standard slides and notes.

Extend VBA Code to Include Grouped Shapes and SmartArt
To get a comprehensive character count, you must enhance your VBA macro with recursive functions that dive into grouped objects and complex graphical elements.
Try WPS Office for Seamless Presentation Management
While Microsoft PowerPoint requires complex VBA macros for simple tasks like character counting, WPS Office offers a free, lightweight, and highly compatible alternative. Enjoy an intuitive interface and a suite of built-in productivity tools designed to streamline your workflow.
- 1. Visit the Official Website: Navigate to the official WPS Office website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to set up the software suite.
- 3. Open Your Presentations: Launch WPS Presentation and easily open your existing PowerPoint files to enjoy a fast, reliable editing experience.

Frequently Asked Questions
Why is there no built-in character count feature in PowerPoint?
PowerPoint is designed primarily as a visual presentation tool rather than a heavy text editor. Because of this focus, traditional word processing metrics like word and character counts are deprioritized by Microsoft.
Can I find the presentation character count without using a VBA macro?
Yes. A reliable workaround is to export your presentation to Microsoft Word by navigating to File > Export > Create Handouts. Once the text is transferred to Word, you can use its native Word Count tool to view the total characters.
Will a VBA macro automatically count text located in hidden slides?
By default, VBA processes all slides in the ActivePresentation.Slides collection, including hidden ones. If you want to exclude hidden slides from your character count, you must add a conditional IF statement checking the SlideShowTransition.Hidden property.
How do I save a PowerPoint presentation after adding a VBA macro?
To preserve your macro code for future use, you must save your file as a PowerPoint Macro-Enabled Presentation (.pptm). Saving it in the standard .pptx format will strip the VBA code from the file.




