Select Multiple Slides for a Custom Show in PowerPoint 2016
Question details
The user needs to select a large group of slides when creating a custom show in PowerPoint 2016.

- Product
- Microsoft PowerPoint 2016
- Device & OS
- not provided
- Scenario
- Creating a custom show containing many slides from an existing presentation.
- Observed behavior
- Shift-click does not conveniently select large groups of slides in the custom show dialog.
Open the presentation and identify the slides to include in the custom show. If you plan to use VBA, make sure your PowerPoint installation allows you to run trusted macros.
Create a Custom Show from Selected Slides Using VBA
Use a macro to create a named custom show from a large slide selection, sorted in presentation order.
Select slides in the presentation rather than in the custom show dialog. The macro collects their slide IDs and sorts them by their position in the presentation before creating the show.
Open View > Slide Sorter and select the slides you want in the show. Use Shift-click for a range or Ctrl-click for individual slides.
Press Alt+F11, choose Insert > Module, and paste this code: Sub CreateCustomShowFromSelection() Dim sel As SlideRange Dim ids() As Long, positions() As Long Dim i As Long, j As Long, temp As Long Dim showName As String If ActiveWindow.Selection.Type <> ppSelectionSlides Then MsgBox "Select slides first." Exit Sub End If Set sel = ActiveWindow.Selection.SlideRange ReDim ids(1 To sel.Count) ReDim positions(1 To sel.Count) For i = 1 To sel.Count ids(i) = sel(i).SlideID positions(i) = sel(i).SlideIndex Next i For i = 1 To sel.Count - 1 For j = i + 1 To sel.Count If positions(i) > positions(j) Then temp = positions(i) positions(i) = positions(j) positions(j) = temp temp = ids(i) ids(i) = ids(j) ids(j) = temp End If Next j Next i showName = InputBox("Enter a new custom show name:") If Len(Trim$(showName)) = 0 Then Exit Sub ActivePresentation.SlideShowSettings.NamedSlideShows.Add showName, ids End Sub
Return to PowerPoint with the slides still selected, press Alt+F8, select CreateCustomShowFromSelection, and click Run. Enter a name that is not already used by another custom show.
Go to Slide Show > Custom Slide Show > Custom Shows, select the new show, and click Edit to verify its slides and order.

Add Slides Manually with Ctrl-Click
Use this approach for a smaller selection when you do not want to run a macro.
Edit Presentations with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with presentations and other Office files. Its PowerPoint format compatibility makes moving existing files easier, although it does not fix PowerPoint's custom show selection dialog.

Frequently Asked Questions
Can I select hundreds of slides with Shift-click in the custom show dialog?
PowerPoint 2016 does not provide a reliable built-in workaround for large Shift-click selections in that dialog. Select the slides in Slide Sorter and use the VBA method, or add smaller groups manually.
How do I check the order of slides in a custom show?
Go to Slide Show > Custom Slide Show > Custom Shows, select the show, and click Edit. Review the list and use the arrow buttons to change the order.
Why does the macro sort the selected slides?
The macro sorts by slide position so the custom show follows the presentation's slide order, regardless of the order in which the slides were selected.
Do I need a macro-enabled file to keep the custom show?
The custom show can remain in the presentation without retaining the macro. To keep the macro itself, choose File > Save As and save as a PowerPoint Macro-Enabled Presentation (.pptm).




