Try ExcelSheet.ActiveCell.Row and ExcelSheet.ActiveCell.Column.
>I have a VFP application that builds an Excel Spreadsheet. I have a line of code that simulates the user hitting Crtl-End in Excel:
>
>ExcelSheet.Cells.SpecialCells(xlLastCell).Select
>
>My question is, how do I return to VFP the cell's row and column?
>
>Thanks,
>
>Mark
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05