Source Element (Microsoft Excel)

Contains the name of a published item or range, or specifies the character set of a text data source.

Contained In

PublishObject, TextWizardSettings

Remarks

For a published item, this element contains the unique name of the item if the SourceType element contains the constant AutoFilter or PrintArea. If the SourceType element contains the constant Range, the Source element contains an A1-style range reference or a defined name. If the SourceType element contains the string constant Chart, PivotTable, or Query, the Source element contains the name of the object.

For the text wizard, this element contains one of the following string constants corresponding to the character set: ANSI, MAC, or PC8. If this element is not specified, the default character set is ANSI.

Example

See the example in the PublishObjects element topic.