SpreadsheetGear 2017
CopyBefore Method (ISheet)






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

Parameters

sheet
The sheet to place the newly created sheet before.

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
CopyAfter Method
Delete Method
MoveAfter Method
MoveBefore Method
Add Method
AddAfter Method
AddBefore Method