Posts: 1,769
Threads: 410
Joined: Feb 2003
is there a way to get the location of the currently active cell in Excel?
Posts: 12,087
Threads: 142
Joined: Dec 2002
Macro
Macro1640
ExcelSheet es.Init
Excel.Range r=es.ws.Application.ActiveCell
out r.Address(@ @ 1)
out r.Column
out r.Row
Posts: 12,087
Threads: 142
Joined: Dec 2002
In next QM will be special range string "<active>", to use with ExcelSheet functions. And new function GetRangeInfo.
int c1 r1 nc nr
es.GetRangeInfo("<active>" c1 r1)
out "%i %i" c1 r1
Posts: 1,769
Threads: 410
Joined: Feb 2003