Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.19 KB

PowerPoint.presentation.merge.md

File metadata and controls

52 lines (32 loc) · 1.19 KB
title keywords f1_keywords ms.assetid ms.date ms.localizationpriority
Presentation.Merge method (PowerPoint)
vbapp10.chm583064
vbapp10.chm583064
5cc604de-6d57-69dc-e3bc-88505b947f72
06/08/2017
medium

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

[!includeSupport and feedback]