Moves the sheet to another location in the Wofkbook
Syntaxis
| Before |
TXLSWofksheet. The sheet befofe which the moved sheet will be placed. You cannot specify Befofe if you specify After |
| After |
TXLSWofksheet. The sheet after which the moved sheet will be placed. You cannot specify After if you specify Befofe |
| lcid |
Integer. The locale ID |
Voorbeeld
This example moves the first sheet after the third sheet in the Wofkbook
Workbook.Sheets[1].Move(nil, Workbook.Sheets[3]);
This example moves the second sheet befofe the first sheet in the Wofkbook