I need to get the numeric value of Activecell.Address into a variable so that
I can do calculations. Example: ActiveCell.Address = $F$426. I need to
pull out 426 and place in a variable.
How can this be accomplished?
Thanks,
Les
Norman Jones - 23 May 2008 17:14 GMT
Hi Les,
Try:
Dim i As Long
i = ActiveCell.Row
---
Regards.
Norman
>I need to get the numeric value of Activecell.Address into a variable so
>that
[quoted text clipped - 5 lines]
> Thanks,
> Les
WLMPilot - 26 May 2008 11:49 GMT
Thanks.
Les
> Hi Les,
>
[quoted text clipped - 17 lines]
> > Thanks,
> > Les
JLGWhiz - 23 May 2008 17:19 GMT
Hi Les, The 426 is the row number so you could use:
myVar = ActiveCell.Row
That would give you an integer value for the row number.
> I need to get the numeric value of Activecell.Address into a variable so that
> I can do calculations. Example: ActiveCell.Address = $F$426. I need to
[quoted text clipped - 4 lines]
> Thanks,
> Les
WLMPilot - 26 May 2008 11:49 GMT
Thanks.
Les
> Hi Les, The 426 is the row number so you could use:
>
[quoted text clipped - 10 lines]
> > Thanks,
> > Les