Share via


Application Members (PowerPoint)

Represents the entire Microsoft PowerPoint application.

Methods

Name

Description

Activate

Activates the specified object.

Help

Displays a Help topic.

Quit

Quits Microsoft PowerPoint. This is equivalent to clicking the Office button and then clicking Exit PowerPoint.

Run

Runs a Visual Basic procedure.

StartNewUndoEntry

Starts a new undo entry in the Application object.

Properties

Name

Description

Active

Returns whether the specified pane or window is active. Read-only.

ActiveEncryptionSession

Represents the encryption session associated with the active presentation. Read-only.

ActivePresentation

Returns a Presentation object that represents the presentation open in the active window. Read-only.

ActivePrinter

Returns the name of the active printer. Read-only.

ActiveProtectedViewWindow

Returns a ProtectedViewWindow object that represents the active Protected View window (the window on top). Read-only.

ActiveWindow

Returns a DocumentWindow object that represents the active document window. Read-only.

AddIns

Returns the program-specific AddIns collection that represents all the add-ins listed in the Add-Ins dialog box (click the Office button, click PowerPoint Options, click Add-Ins, click PowerPoint Add-Ins on the Manage list). Read-only.

Assistance

Gets a reference to the Microsoft Office IAssistance object, which provides a means for developers to create a customized help experience for users within Microsoft Office. Read-only.

AutoCorrect

Returns an AutoCorrect object that represents the AutoCorrect functionality in Microsoft PowerPoint.

AutomationSecurity

Represents the security mode that Microsoft PowerPoint uses when it opens files programmatically. Read/write.

Build

Returns the build number for the current instance of Microsoft PowerPoint. Read-only.

Caption

Returns the text that appears in the title bar of the application window. Read/write.

COMAddIns

Returns a reference to the Component Object Model (COM) add-ins currently loaded in Microsoft PowerPoint. These add-ins are listed on the Add-Ins tab in the PowerPoint Options dialog box. Read-only.

CommandBars

Returns a CommandBars collection that represents all the command bars in Microsoft PowerPoint. Read-only.

Creator

Returns a Long that represents the four-character creator code for the application in which the specified object was created. For example, if the object was created in Microsoft PowerPoint, this property returns the hexadecimal number 50575054. Read-only.

DefaultWebOptions

Returns the DefaultWebOptions object, which contains global application-level attributes used by Microsoft PowerPoint when you publish or save a complete or partial presentation as a Web page or open a Web page. Read-only.

DisplayAlerts

Sets or returns whether Microsoft PowerPoint displays alerts while running a macro. Read/write.

DisplayDocumentInformationPanel

Returns or sets whether the Document Properties panel is displayed in the Microsoft PowerPoint user interface. Read/write.

DisplayGridLines

Determines whether to display gridlines in Microsoft PowerPoint. Read/write.

FeatureInstall

Returns or sets how Microsoft PowerPoint handles calls to methods and properties that require features not yet installed. Read/write.

FileConverters

Returns information about installed file converters. Returns null if there are no converters installed. Read-only Variant.

FileDialog

Returns a FileDialog object that represents a single instance of a file dialog box. Read-only.

FileValidation

Returns or sets a value that indicates how PowerPoint will validate files before opening them. Read/write

Height

Returns or sets the height of the specified object, in points. Read/write.

IsSandboxed

Returns True if the specified presentation is open in a Protected View window. Read-only.

LanguageSettings

Returns a LanguageSettings object that contains information about the language settings in Microsoft PowerPoint. Read-only.

Left

Returns or sets a Single that represents the distance in points from the left edge of the document, application, and slide show windows to the left edge of the application window's client area. Setting this property to a very large positive or negative value may position the window completely off the desktop. Read/write.

Name

Returns the string "Microsoft PowerPoint." Read-only.

NewPresentation

Returns a NewFile object that represents a presentation listed on the New Presentation task pane. Read-only.

OperatingSystem

Returns the name of the operating system. Read-only.

Options

Returns an Options object that represents application options in Microsoft PowerPoint.

Path

Returns a String that represents the path to the specified Application object. Read-only.

Presentations

Returns a Presentations collection that represents all open presentations. Read-only.

ProductCode

Returns the Microsoft PowerPoint globally unique identifier (GUID). Read-only.

ProtectedViewWindows

Returns a ProtectedViewWindows collection that represents all the Protected View windows that are open in the application. Read-only

ShowStartupDialog

Determines whether to display the New Presentation task pane when Microsoft PowerPoint is started. Read/write.

ShowWindowsInTaskbar

Determines whether there is a separate Windows taskbar button for each open presentation. Read/write.

SlideShowWindows

Returns a SlideShowWindows collection that represents all open slide show windows. Read-only.

SmartArtColors

Returns the SmartArt colors of the current Application object. Read-only.

SmartArtLayouts

Returns the SmartArt layout of the current Application object. Read-only.

SmartArtQuickStyles

Returns the quick styles of the SmartArt diagram in the current Application object. Read-only.

Top

Returns or sets a Single that represents the distance in points from the top edge of the document, application, and slide show window to the top edge of the application window's client area. Read/write.

VBE

Returns a VBE object that represents the Visual Basic Editor. Read-only.

Version

Returns the Microsoft PowerPoint version number. Read-only.

Visible

Returns or sets the visibility of the specified object or the formatting applied to the specified object. Read/write.

Width

Returns or sets the width of the specified object, in points. Read/write.

Windows

Returns a DocumentWindows collection that represents all open document windows. Read-only.

WindowState

Returns or sets the state of the specified window. Read/write.

Events

Name

Description

AfterNewPresentation

Occurs after a presentation is created.

AfterPresentationOpen

Occurs after an existing presentation is opened.

ColorSchemeChanged

Occurs after a color scheme is changed.

NewPresentation

Occurs after a presentation is created, as it is added to the Presentations collection.

PresentationBeforeClose

Represents a Presentation object before it closes.

PresentationBeforeSave

Occurs before a presentation is saved.

PresentationClose

Occurs immediately before any open presentation closes, as it is removed from the Presentations collection.

PresentationCloseFinal

Represents closing the final Presentation object.

PresentationNewSlide

Occurs when a new slide is created in any open presentation, as the slide is added to the Slides collection.

PresentationOpen

Occurs after an existing presentation is opened, as it is added to the Presentations collection.

PresentationPrint

Occurs before a presentation is printed.

PresentationSave

Occurs before any open presentation is saved.

PresentationSync

Occurs when the local copy of a presentation that is part of a Document Workspace is synchronized with the copy on the server. Provides important status information regarding the success or failure of the synchronization of the presentation.

ProtectedViewWindowActivate

Occurs when any protected view window is activated.

ProtectedViewWindowBeforeClose

Occurs immediately before a protected view window or a document in a protected view window closes.

ProtectedViewWindowBeforeEdit

Occurs immediately before editing is enabled on the document in the specified protected view window.

ProtectedViewWindowDeactivate

Occurs when a protected view window is deactivated.

ProtectedViewWindowOpen

Occurs when a protected view window is opened.

SlideSelectionChanged

Occurs at different times depending on the current view.

SlideShowBegin

Occurs when you start a slide show.

SlideShowEnd

Occurs after a slide show ends, immediately after the last SlideShowNextSlide event occurs.

SlideShowNextBuild

Occurs upon mouse-click or timing animation, but before the animated object becomes visible. .

SlideShowNextClick

Occurs on the next click of the slide.

SlideShowNextSlide

Occurs immediately before the transition to the next slide. For the first slide, occurs immediately after the SlideShowBegin event.

SlideShowOnNext

Occurs when the user clicks Next to move within the current slide.

SlideShowOnPrevious

Occurs when the user clicks Previous to move within the current slide.

WindowActivate

Occurs when the application window or any document window is activated.

WindowBeforeDoubleClick

Occurs when you double-click the items in the views listed in the following table.

WindowBeforeRightClick

Occurs when you right-click a shape, a slide, a notes page, or some text. This event is triggered by the MouseUp event.

WindowDeactivate

Occurs when the application window or any document window is deactivated.

WindowSelectionChange

Occurs when the selection of text, a shape, or a slide in the active document window changes, whether in the user interface or in code.