Office Settings & Configuration

Remove Picture Backgrounds in PowerPoint When VBA Cannot

Anum MushtaqAnum Mushtaq Nov 14, 2026 868 views

Question details

The user wants to reproduce PowerPoint's Remove Background command for slide pictures using VBA or another automated method.

Product
Microsoft PowerPoint
Device & OS
not provided
Scenario
Removing backgrounds from pictures on PowerPoint slides, preferably through code.
Observed behavior
Setting FollowMasterBackground does not remove the background from a picture.
Before you start

Identify the pictures that need background removal and check whether your PowerPoint version offers Picture Format > Remove Background. For automated processing, choose a tool or API that can return images with transparent backgrounds.

Solution 1Recommended

Remove a picture background using the PowerPoint ribbon

Use PowerPoint's built-in command when you can edit pictures individually.

PowerPoint VBA does not expose a direct property or method that fully reproduces the Remove Background command. FollowMasterBackground controls whether a slide follows the master's background; it does not edit pictures.

1
Select the picture

Open the presentation and click the picture whose background you want to remove.

2
Open background removal

On the Picture Format tab, select Remove Background.

3
Refine the selection

Use Mark Areas to Keep or Mark Areas to Remove to adjust the proposed selection.

4
Apply the change

Select Keep Changes, then repeat the process for other pictures as needed.

Free Microsoft Office alternative

Work with slide pictures in WPS Presentation

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing presentations. Its PowerPoint format compatibility makes it easier to move existing slide work to WPS, although it does not fix PowerPoint's VBA limitation.

Open and edit Microsoft PowerPoint PPTX presentationsInsert and arrange pictures on presentation slidesUse a familiar interface for everyday presentation editingMove existing Office files into a lightweight, free office suite
microsoft office alternative - wps office

Frequently Asked Questions

Does FollowMasterBackground remove a picture's background?

No. FollowMasterBackground controls whether a slide follows its master's background. It does not change the pixels or background of a picture on the slide.

Where is Remove Background in PowerPoint?

Select a picture on the slide, then open the Picture Format tab and choose Remove Background. Availability can depend on your PowerPoint version and the selected object.

Can VBA directly reproduce PowerPoint's Remove Background command?

PowerPoint VBA does not provide a direct property or method that fully reproduces the command. For automation, consider processing images with an external tool or API and then replacing them on the slides.

What image format should I use for a transparent background?

Use a format that supports transparency, such as PNG. After processing, insert or replace the picture in PowerPoint and check that the transparent areas appear as expected.