G
Guest
I have a rather easy question (at least it seems easy). Inside my macro
function, how can I get the range or cell that triggered the macro call?
The Application.ActiveCell returns the correct cell position as long as the
user does not move cells after modifying the cell (i.e. the user clicks the
check button between the "X" and "=" button). If the user makes mods and
hits enter, then Application.ActiveCell returns the cell below the modified
cell. Or, if the user hits tab, then Application.ActiveCell returns the cell
to the right of the modified cell.
Thanks in advance,
-Fabricio
(e-mail address removed)
function, how can I get the range or cell that triggered the macro call?
The Application.ActiveCell returns the correct cell position as long as the
user does not move cells after modifying the cell (i.e. the user clicks the
check button between the "X" and "=" button). If the user makes mods and
hits enter, then Application.ActiveCell returns the cell below the modified
cell. Or, if the user hits tab, then Application.ActiveCell returns the cell
to the right of the modified cell.
Thanks in advance,
-Fabricio
(e-mail address removed)