共用方式為


Worksheet.Startup Event

Occurs after the worksheet is running and all the initialization code in the assembly has been run.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Event Startup As EventHandler
event EventHandler Startup

Remarks

The last thing to run in the constructor of the class that the user code is running in.

.NET Framework Security

See Also

Reference

Worksheet Interface

Microsoft.Office.Tools.Excel Namespace