Select Exel Worksheet

I can’t select worksheet, may be it’s imposible


    xlWorksheet := xlSheets.Item(7); 

… selects Worksheet 7 ------- With best regards from Switzerland Marcus Fabian

Thank You!!! I use this function, but nothing hapens… becose i don’t activate this page… exsheet := exsheets.Item(3); !!! exsheet.Activate; !!!

Here Try this little bit of code CREATE(x); x.Workbooks.Open(WorkbookPath); book := x.ActiveWorkbook; Sheet := x.ActiveSheet; X = Application Book = Workbooks Sheet = Worksheets That Should Help Cheers Tim