PopulateEntryTemplate Method
The PopulateEntryTemplate method populates a template legend entry name with worksheet data.
Syntax
object.PopulateEntryTemplate( index, dataFile )
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
| index | Long | The 1-based index to the specific legend entry to populate. |
| dataFile | String | The new data file to be assigned to the legend entry. |
Example
The following example demonstrates how to populate the first entry of a legend with a new data file.
'Populate the first legend entry
Legend.PopulateEntryTemplate(1, "C:\Data\LegendData.dat")
Used by: AutoLegend Object