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

OLE Programmatic Identifiers (PowerPoint)

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

You can use an OLE programmatic identifier (sometimes called a ProgID) to create an Automation object. The following tables list OLE programmatic identifiers for ActiveX controls, Office applications, and Office Web Components.

ActiveX Controls

To create the ActiveX controls listed in the following table, use the corresponding OLE programmatic identifier.

To create this controlUse this identifier
CheckBoxForms.CheckBox.1
ComboBoxForms.ComboBox.1
CommandButtonForms.CommandButton.1
FrameForms.Frame.1
ImageForms.Image.1
LabelForms.Label.1
ListBoxForms.ListBox.1
MultiPageForms.MultiPage.1
OptionButtonForms.OptionButton.1
ScrollBarForms.ScrollBar.1
SpinButtonForms.SpinButton.1
TabStripForms.TabStrip.1
TextBoxForms.TextBox.1
ToggleButtonForms.ToggleButton.1

Access

To create the Access objects listed in the following table, use one of the corresponding OLE programmatic identifiers. If you use an identifier without a version number suffix, you create an object in the most recent version of Access available on the computer where the macro is running.

To create this objectUse one of these identifiers
ApplicationAccess.Application
CurrentDataAccess.CodeData, Access.CurrentData
CurrentProjectAccess.CodeProject, Access.CurrentProject
DefaultWebOptionsAccess.DefaultWebOptions

Excel

To create the Excel objects listed in the following table, use one of the corresponding OLE programmatic identifiers. If you use an identifier without a version number suffix, you create an object in the most recent version of Excel available on the computer where the macro is running.

To create this objectUse one of these identifiersComments
ApplicationExcel.Application
WorkbookExcel.AddIn
WorkbookExcel.ChartReturns a workbook containing two worksheets; one for the chart and one for its data. The chart worksheet is the active worksheet.
WorkbookExcel.SheetReturns a workbook with one worksheet.

Microsoft Graph

To create the Microsoft Graph objects listed in the following table, use one of the corresponding OLE programmatic identifiers. If you use an identifier without a version number suffix, you create an object in the most recent version of Graph available on the computer where the macro is running.

To create this objectUse one of these identifiers
ApplicationMSGraph.Application
ChartMSGraph.Chart

Outlook

To create the Outlook object given in the following table, use one of the corresponding OLE programmatic identifiers. If you use an identifier without a version number suffix, you create an object in the most recent version of Outlook available on the computer where the macro is running.

To create this objectUse one of these identifiers
ApplicationOutlook.Application

PowerPoint

To create the PowerPoint object given in the following table, use one of the corresponding OLE programmatic identifiers. If you use an identifier without a version number suffix, you create an object in the most recent version of PowerPoint available on the computer where the macro is running.

To create this objectUse one of these identifiers
ApplicationPowerPoint.Application

Word

To create the Word objects listed in the following table, use one of the corresponding OLE programmatic identifiers. If you use an identifier without a version number suffix, you create an object in the most recent version of Word available on the computer where the macro is running.

To create this objectUse one of these identifiers
ApplicationWord.Application
DocumentWord.Document, Word.Template
GlobalWord.Global
© 2017 Microsoft