Office Settings & Configuration

Hide All Audio Icons During a PowerPoint Slide Show

Aamir Naveed AkramAamir Naveed Akram Nov 22, 2026 868 views

Question details

The user wants to enable Hide During Show for every audio clip in a PowerPoint presentation without changing each clip individually.

Hide All Audio Icons During a PowerPoint Slide Show
Product
Microsoft PowerPoint
Device & OS
not provided
Scenario
Preparing a presentation with multiple audio clips whose icons should not appear during the slide show.
Observed behavior
PowerPoint does not provide an Apply to All command for the Hide During Show audio setting.
Before you start

Open the presentation in a desktop version of PowerPoint that supports VBA, and switch to View > Normal. To retain the macro, save the file as a PowerPoint Macro-Enabled Presentation (.pptm).

Solution 1Recommended

Use a VBA macro to hide audio icons across slides

Use this method to enable Hide During Show for audio shapes throughout the active presentation.

The macro checks top-level shapes on each slide and changes the setting only when it is not already enabled. It uses a PowerPoint ribbon command, so availability may vary by version.

The macro does not inspect audio shapes inside groups. Ungroup those objects or adjust their settings individually.

1
Open the VBA editor

In PowerPoint, open the presentation and choose Developer > Visual Basic. On Windows, you can also press Alt+F11.

2
Insert a module

In the Visual Basic editor, select the presentation project and choose Insert > Module.

3
Add the macro

Paste this code into the module: Sub SetHideDuringShow() Dim osld As Slide Dim oshp As Shape For Each osld In ActivePresentation.Slides ActiveWindow.View.GotoSlide osld.SlideIndex For Each oshp In osld.Shapes If oshp.Type = msoMedia Then If oshp.MediaType = ppMediaTypeSound Then oshp.Select If Not CommandBars.GetPressedMso("MediaClipToolsHideDuringShow") Then CommandBars.ExecuteMso "MediaClipToolsHideDuringShow" DoEvents End If End If End If Next oshp Next osld End Sub

4
Run and verify

Return to PowerPoint, choose Developer > Macros, select SetHideDuringShow, and click Run. Select several audio icons and check Audio Tools > Playback > Hide During Show, then test the slide show.

Use a VBA macro to hide audio icons across slides
Macro availability: Run macros only when you trust their source. If the macro stops on the ribbon command, your PowerPoint version or current view may not support it; use the individual-clip method instead.
Free Microsoft Office alternative

Work with presentations in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing PowerPoint presentations. Its format support can help you move existing files into WPS, though it does not fix PowerPoint's missing Apply to All command or guarantee that PowerPoint macros will run.

Open and edit Microsoft PowerPoint PPT and PPTX filesWork with presentation slides and media in WPS PresentationUse a familiar interface to ease the move from Microsoft OfficeStart with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can I apply Hide During Show to all audio clips from the PowerPoint ribbon?

PowerPoint does not provide an Apply to All command for this setting. Use the VBA macro for top-level audio shapes or select each clip and enable Audio Tools > Playback > Hide During Show.

Will the macro change audio clips inside grouped objects?

No. The macro checks top-level shapes on each slide. Ungroup the objects and rerun it, or select and adjust the grouped clips individually.

Why should I save the presentation as a PPTM file?

The .pptm format retains VBA macros. Use File > Save As and choose PowerPoint Macro-Enabled Presentation if you want to keep the macro in the file.

Does Hide During Show stop the audio from playing?

No. It hides the audio icon during the slide show; playback still depends on the clip's settings. Check Audio Tools > Playback and test the presentation in Slide Show view.