OfficeDataSourceObject.DataSource Property
Gets or sets a String that represents the name of the attached data source. Read/write.
Syntax
expression.DataSource
expression A variable that represents an OfficeDataSourceObject object.
Example
The following example sets the name of the data source if the name is blank.
| Visual Basic for Applications |
|---|
|