This documentation is archived and is not being maintained.

Load Method

Office 2003

Loads XML chart data from a URL or local file. The file must consist of only charting XML, and it cannot contain any leading HTML. The string must begin with <script language="XML"> and end with </script>.

expression.Load(FileName As String)

expression    An expression that returns a ChartSpace object.

FileName    Required String. Specifies the file containing XML chart data.


This example loads the specified XML data file.

ChartSpace1.Load "chart.xml"

Applies to | ChartSpace Object

See Also | LoadText Method