Prompts the user to insert worksheets within a workbook.
Namespace: MindFusion.Spreadsheet.WinForms
Assembly: MindFusion.Spreadsheet.WinForms.StandardForms
SyntaxC#
Copy Code
|
|---|
public class InsertWorksheetForm : Form |
Visual Basic
Copy Code
|
|---|
Public Class InsertWorksheetForm |
RemarksThis form can be used to prompt the user to insert new sheets in a workbook. To use the form, create an instance of the InsertWorksheetForm class by providing the related workbook and call the ShowDialog method. The user's choice can be obtained from the Position, Index, NumberOfSheets, and SheetName properties. The following image shows the form:

ExampleThe code below demonstrates how to use the form to insert worksheets in an existing workbook. The activeSheet variable identifies the Worksheet that is currently active in the view.
C#
Copy Code
|
|---|
var form = new InsertWorksheetForm(workbook); |
Visual Basic
Copy Code
|
|---|
Dim form = New InsertWorksheetForm(workbook) |
Inheritance HierarchySystem.Object![]()
System.MarshalByRefObject![]()
System.ComponentModel.Component![]()
System.Windows.Forms.Control![]()
System.Windows.Forms.ScrollableControl![]()
System.Windows.Forms.ContainerControl![]()
System.Windows.Forms.Form![]()
MindFusion.Spreadsheet.WinForms.InsertWorksheetForm
See Also