Share via


ODBCConnection.SourceDataFile Property

Excel Developer Reference

Returns or sets a String indicating the source data file for an ODBC connection. Read/write.

Version Information
 Version Added:  Excel 2007

Syntax

expression.SourceDataFile

expression   A variable that represents an ODBCConnection object.

Remarks

For file-based data sources (for example, Access) the SourceDataFile property contains a fully qualified path to the source data file. It is null for server-based data sources (for example, SQL Server). The SourceDataFile property is set to null if the Connection property is changed programmatically.

See Also