Table of contents
TOC
Collapse the table of content
Expand the table of content

Presentation.Merge Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Merges the changes in one presentation with another.

Syntax

expression. Merge(Path)

expression A variable that represents a Presentation object.

Parameters

NameRequired/OptionalData typeDescription
PathRequiredStringThe path, including filename, of the presentation to merge changes with.
PathRequiredSTRING

Return value

VOID

Example

The following code sample merges the active presentation with a presentation saved to the user?s desktop.

Sub MergePresentations()
    Dim userName As String
    Dim otherPres As String

    ActivePresentation.Merge("C:\Users\? &; username &; ?\Desktop\" &; otherPres)
End Sub
© 2018 Microsoft