WorksheetDataConnection.Application property (Excel)

Returns an Application object that represents the Microsoft Excel application. Read-only.


expression. Application

expression A variable that represents a WorksheetDataConnection object (Excel) object.


This example displays a message about the application that created myObject.

Set myObject = ActiveWorkbook 
If myObject.Application.Value = "Microsoft Excel" Then 
 MsgBox "This is an Excel Application object." 
 MsgBox "This is not an Excel Application object." 
End If

Property value


See also

WorksheetDataConnection Object

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.