SpreadsheetGear 2012
AddAfter Method (IWorksheets)






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
)
function AddAfter( 
    sheet: ISheet
): IWorksheet; 
function AddAfter( 
   sheet : ISheet
) : IWorksheet;
IWorksheet* AddAfter( 
   ISheet* 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

Send Feedback