Formatting Issues

How to Change White Font to Black Throughout a PowerPoint Presentation

Adam DavisAdam Davis Oct 23, 2026 876 views

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.

How to Change White Font to Black Throughout a PowerPoint Presentation
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the VBA Editor

Press Alt + F11 on your keyboard to open the Microsoft Visual Basic for Applications window.

2
Insert a New Module

Click on 'Insert' in the top menu and select 'Module' to create a blank script window.

3
Write the Macro Code

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)'.

4
Run the Macro

Press F5 or click the Run button to execute the script and apply the font color changes globally across your presentation.

Use a VBA Macro to Selectively Change Specific Font Colors
Precise Color Matching: You can use this same logic to test and replace any colors, including hexadecimal codes, ensuring highly accurate formatting updates.
Easily Format Presentations

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. 1. Open Your Presentation: Launch WPS Presentation and open your .pptx file.
  2. 2. Open the Slide Master: Navigate to the 'Design' or 'View' tab and click on 'Slide Master'.
  3. 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. 4. Apply and Save: Click 'Close Master View' to instantly update all linked text across your presentation.
Highly compatible with Microsoft PowerPoint (.pptx) file formats.Intuitive Slide Master view for global theme and font adjustments.Lightweight, free, and easy-to-use Office alternative.Built-in design tools to manage text colors without needing complex macros.
microsoft office alternative - wps office

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.