See Also

IWorksheets Interface  | IWorksheets Members  | CopyAfter Method  | CopyBefore Method  | Delete Method  | MoveAfter Method  | MoveBefore Method  | Add Method  | AddBefore Method

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

sheet
The sheet to insert the newly created worksheet after.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

AddAfter Method

SpreadsheetGear Namespace > IWorksheets Interface : AddAfter Method

Creates a new worksheet and inserts it after the specified sheet.

[Visual Basic]
Overridable Function AddAfter( _    ByVal sheet As ISheet _ ) As IWorksheet
[C#]
virtual IWorksheet AddAfter(    ISheet sheet );
[C++]
virtual IWorksheet* AddAfter(    ISheet* sheet )
[C++/CLI]
virtual IWorksheet^ AddAfter(    ISheet^ sheet )

Parameters

sheet
The sheet to insert the newly created worksheet after.

Return Type

The newly created worksheet.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IWorksheets Interface  | IWorksheets Members  | CopyAfter Method  | CopyBefore Method  | Delete Method  | MoveAfter Method  | MoveBefore Method  | Add Method  | AddBefore Method

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.