편집

다음을 통해 공유


Presentation.Merge method (PowerPoint)

Note

This object or member has been deprecated, but it remains part of the object model for backward compatibility. You should not use it in new applications.

Merges the changes in one presentation with another.

Syntax

expression.Merge (Path)

expression A variable that represents a Presentation object.

Parameters

Name Required/Optional Data type Description
Path Required String The path, including filename, of the presentation to merge changes with.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.