See Also

ISheet Interface  | ISheet Members  | CopyAfter Method  | Delete Method  | MoveAfter Method  | MoveBefore Method  | Add Method  | AddAfter Method  | AddBefore Method

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

sheet
The sheet to place the newly created sheet before.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

CopyBefore Method

SpreadsheetGear Namespace > ISheet Interface : CopyBefore Method

Creates a new sheet before the specified sheet and copies the contents of this sheet to the newly created sheet.

[Visual Basic]
Overridable Function CopyBefore( _    ByVal sheet As ISheet _ ) As ISheet
[C#]
virtual ISheet CopyBefore(    ISheet sheet );
[C++]
virtual ISheet* CopyBefore(    ISheet* sheet )
[C++/CLI]
virtual ISheet^ CopyBefore(    ISheet^ sheet )

Parameters

sheet
The sheet to place the newly created sheet before.

Return Type

The newly created sheet.

Remarks

The newly created sheet will be of the same type as this sheet.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ISheet Interface  | ISheet Members  | CopyAfter Method  | Delete Method  | MoveAfter Method  | MoveBefore Method  | Add Method  | AddAfter Method  | AddBefore Method

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.