officefileapi-devexpress-dot-spreadsheet-dot-sheet.md
Moves the current sheet to the first position in a workbook.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
void MoveToBeginning()
Sub MoveToBeginning
The table below lists methods of the Sheet object that allow you to rearrange worksheets and chart sheets within a workbook.
| Method | Description |
|---|---|
| Sheet.MoveBefore | Moves the sheet before the specified sheet in a workbook. |
| Sheet.MoveAfter | Moves the sheet after the specified sheet in a workbook. |
| MoveToBeginning | Moves the sheet to the first position within a workbook. |
| Sheet.MoveToEnd | Moves the sheet to the last position within a workbook. |
You can also use the Worksheet.Move and ChartSheet.Move methods to relocate worksheets and chart sheet within the WorksheetCollection and ChartSheetCollection collections, respectively.
See Also