How to Change White Font to Black Throughout a PowerPoint Presentation
Question details
The user needs a way to bulk change white text to black in a PowerPoint presentation without altering other text colors like red and yellow highlights.

- Product
- PowerPoint
- Device & OS
- not provided
- Scenario
- Reformatting a presentation that uses a dark background by globally modifying specific font colors while preserving customized text highlights.
- Observed behavior
- The user wants to selectively target and replace only the white font color across multiple slides, shapes, and text runs.
Always create a backup copy of your presentation before running VBA macros or making global changes to the Slide Master, as bulk modifications cannot easily be undone.
Use a VBA Macro to Selectively Change Specific Font Colors
A VBA macro allows you to loop through every slide, shape, and text run in the presentation, safely replacing only the white text with black while leaving red and yellow highlights intact.
This method is highly effective for text that has been manually formatted. By targeting specific RGB values or VBA color constants, the macro ensures that no other colors are accidentally altered.
Press Alt + F11 on your keyboard to open the Microsoft Visual Basic for Applications window.
Click on 'Insert' in the top menu and select 'Module' to create a blank script window.
Paste a VBA script that loops through each slide and shape. Use an IF statement to check if the text run's font color equals 'vbWhite' or 'RGB(255, 255, 255)'. If true, set it to 'vbBlack' or 'RGB(0, 0, 0)'.
Press F5 or click the Run button to execute the script and apply the font color changes globally across your presentation.

Modify the Slide Master for Theme-Controlled Text
If the white text in your presentation is controlled by the document theme rather than being manually colored, updating the Slide Master is the quickest and safest approach.
Edit and Format Presentation Texts Globally in WPS Office
WPS Presentation provides intuitive Slide Master controls and seamless Microsoft PowerPoint compatibility, making bulk formatting changes straightforward and hassle-free.
- 1. Open Your Presentation: Launch WPS Presentation and open your .pptx file.
- 2. Open the Slide Master: Navigate to the 'Design' or 'View' tab and click on 'Slide Master'.
- 3. Modify Text Colors: Select the master layout at the top, highlight the text placeholders, and use the 'Home' tab to change the font color.
- 4. Apply and Save: Click 'Close Master View' to instantly update all linked text across your presentation.

Frequently Asked Questions
Can I use VBA to change other specific font colors in PowerPoint?
Yes, you can specify any RGB value or hex code in the VBA script. For example, to change green text to red, you would test for RGB(0, 255, 0) and replace it with RGB(255, 0, 0).
Why did the Slide Master method not change all my white text?
The Slide Master only updates text that inherits its formatting directly from the theme. Any text that was manually highlighted or colored on individual slides overrides the master theme and requires the VBA macro method to be modified in bulk.
How do I find the exact RGB value of a font color in my presentation?
Select the text containing the color, go to the Font Color dropdown in the Home tab, select 'More Colors', and look at the Custom tab. You will see the exact Red, Green, and Blue values used.




