SpreadsheetGear 2023
AddAfter Method (IWorksheets)


SpreadsheetGear Namespace > IWorksheets Interface : AddAfter Method
The sheet to insert the newly created worksheet after.
Creates a new worksheet and inserts it after the specified sheet.
Syntax
'Declaration
 
Function AddAfter( _
   ByVal sheet As ISheet _
) As IWorksheet
'Usage
 
Dim instance As IWorksheets
Dim sheet As ISheet
Dim value As IWorksheet
 
value = instance.AddAfter(sheet)
IWorksheet AddAfter( 
   ISheet sheet
)

Parameters

sheet
The sheet to insert the newly created worksheet after.

Return Value

The newly created worksheet.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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