View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
anilsolipuram[_60_] anilsolipuram[_60_] is offline
external usenet poster
 
Posts: 1
Default Getting the row/column number


the row and column number of what?

If row number and column number of selected cell

it is

dim x1,x2 as variant
x1=Selection.Row
x2=Selection.Column


if you want row number and column number of a cell


dim x1,x2 as variant
x1=range("ab10").Row
x2=range("ab10").Colum

--
anilsolipura
-----------------------------------------------------------------------
anilsolipuram's Profile: http://www.excelforum.com/member.php...fo&userid=1627
View this thread: http://www.excelforum.com/showthread.php?threadid=38006