SpreadsheetGear 2017
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.
Function AddAfter( _
   ByVal sheet As ISheet _
) As IWorksheet
Dim instance As IWorksheets
Dim sheet As ISheet
Dim value As IWorksheet
value = instance.AddAfter(sheet)
IWorksheet AddAfter( 
   ISheet sheet
function AddAfter( 
    sheet: ISheet
): IWorksheet; 
function AddAfter( 
   sheet : ISheet
) : IWorksheet;
IWorksheet* AddAfter( 
   ISheet* sheet
IWorksheet^ AddAfter( 
   ISheet^ sheet


The sheet to insert the newly created worksheet after.

Return Value

The newly created worksheet.

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


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