<κλάση header="doc-nav" aria-label="Πλοήγηση τεκμηρίωσης"> Τεκμηρίωση HotXLS <κλάση nav="doc-links"> Περιεχόμενα Αρχική Επισκόπηση TGridToXLS IXLSWorkbook <κλάση div="nav topic-quick-nav" aria-label="Topic shortcuts"> Αρχική Περιεχόμενα Επισκόπηση

Move μέθοδος

<κλάση div="indent"> <κλάση div="txt"> Moves the sheet to another location in the Workbook

Σύνταξη

<κλάση div="indent"> <κλάση div="txt"> procedure Move(Before: TXLSWorksheet; After: TXLSWorksheet; lcid: Integer); <κλάση div="txt"> procedure Move(Before: TXLSWorksheet; After: TXLSWorksheet); <κλάση div="txt"> procedure Move(Before: TXLSWorksheet); <κλάση table="synd"> <κλάση td="syni">Before <κλάση td="synid">TXLSWorksheet. The sheet before which the moved sheet will be placed. You cannot specify Before if you specify After <κλάση td="syni">After <κλάση td="synid">TXLSWorksheet. The sheet after which the moved sheet will be placed. You cannot specify After if you specify Before <κλάση td="syni">lcid <κλάση td="synid">Integer. The locale ID

Παράδειγμα

<κλάση div="indent"> <κλάση div="txt"> This example moves the first sheet after the third sheet in the Workbook
<κλάση pre="code"> Workbook.Sheets[1].Move(nil, Workbook.Sheets[3]); <κλάση div="txt"> This example moves the second sheet before the first sheet in the Workbook
<κλάση pre="code"> Workbook.Sheets[2].Move(Workbook.Sheets[1]); <κλάση footer="reference-footer">Copyright © 2010-2026 losLab Software