Hello to everybody,
what I want to know is which row and which column is the active cell in the file excel.
I think it's really simple, but I've tried my best and I didn't succeed.
I haven't find anything in internet. Help me, please! ![:sweating:]()
![:sweating:](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/sweating.gif)
I use the file "test.xls" to write many records, but I want to know WHERE I'm writing the records BEFORE the records are written and before writing anything in the sheet.
The ActiveCell may be everywhere in the sheet.
#Include <Excel.au3>
$oExcel = _ExcelBookAttach("C:\test.xls")
$TheRow = $oExcel.ActiveCell.Row
The error is:
$TheRow = $oExcel.ActiveCell.Row
$TheRow = $oExcel.ActiveCell^ ERROR
Error: The requested action with this object has failed
Someone would correct my code, please?