ControlSite.AutoLoad Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the ControlSite is automatically loaded when the workbook that contains it is opened.
public:
property bool AutoLoad { bool get(); void set(bool value); };
public bool AutoLoad { get; set; }
member this.AutoLoad : bool with get, set
Public Property AutoLoad As Boolean
Property Value
true
if the ControlSite is automatically loaded when the workbook that contains it is opened; otherwise, false
.
Remarks
This property is ignored by ActiveX controls. ActiveX controls are always loaded when a workbook is opened.
For most OLE object types, this property should not be set to true
. By default, the AutoLoad property is set to false
for new OLE objects; this saves time and memory when Microsoft Office Excel is loading workbooks. The benefit of automatically loading OLE objects is that, for objects that represent volatile data, links to source data can be reestablished immediately and the objects can be rendered again if necessary.