OfficeDataSourceObject.Open method (Office)

Opens a table in an OfficeDataSourceObject object.

Syntax

expression.Open (bstrSrc, bstrConnect, bstrTable, fOpenExclusive, fNeverPrompt)

expression A variable that represents an OfficeDataSourceObject object.

Parameters

Name Required/Optional Data type Description
bstrSrc Optional String Contains the name of the data source.
bstrConnect Optional String Contains the connection string to the data source.
bstrTable Optional String Specifies which table to open.
fOpenExclusive Optional Long Indicates whether the table should be opened for exclusive access.
fNeverPrompt Optional Long Indicates whether to notify the user if the table cannot be opened.

See also

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.