SpreadsheetGear 2012
CopyAfter Method (ISheet)






The sheet to place the newly created sheet after.
Creates a new sheet after the specified sheet and copies the contents of this sheet to the newly created sheet.
Syntax
'Declaration
 
Function CopyAfter( _
   ByVal sheet As ISheet _
) As ISheet
'Usage
 
Dim instance As ISheet
Dim sheet As ISheet
Dim value As ISheet
 
value = instance.CopyAfter(sheet)
ISheet CopyAfter( 
   ISheet sheet
)
function CopyAfter( 
    sheet: ISheet
): ISheet; 
function CopyAfter( 
   sheet : ISheet
) : ISheet;
ISheet* CopyAfter( 
   ISheet* sheet
) 
ISheet^ CopyAfter( 
   ISheet^ sheet
) 

Parameters

sheet
The sheet to place the newly created sheet after.

Return Value

The newly created sheet.
Remarks
The newly created sheet will be of the same type as this sheet.
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

ISheet Interface
ISheet Members
CopyBefore Method
Delete Method
MoveAfter Method
MoveBefore Method
Add Method
AddAfter Method
AddBefore Method

Send Feedback