Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 812 Bytes

Excel.OLEObject.progID.md

File metadata and controls

43 lines (28 loc) · 812 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OLEObject.progID property (Excel)
vbaxl10.chm417083
vbaxl10.chm417083
Excel.OLEObject.progID
cbec1e95-6bdd-ce55-f426-28dcf4191897
05/02/2019
medium

OLEObject.progID property (Excel)

Returns the programmatic identifiers for the object. Read-only String.

Syntax

expression.progID

expression A variable that represents an OLEObject object.

Example

This example creates a list of the programmatic identifiers for the OLE objects on worksheet one.

rw = 0 
For Each o in Worksheets(1).OLEObjects 
 With Worksheets(2) 
 rw = rw + 1 
 .cells(rw, 1).Value = o.ProgId 
 End With 
Next

[!includeSupport and feedback]