Model.DataModelConnection property (Excel)
Returns the model WorkbookConnection object from the workbook connections collection that connects to the model.
Syntax
expression.DataModelConnection
expression A variable that represents a Model object.
Property value
WORKBOOKCONNECTION
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.