Thread: Row & Column
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Row & Column

i= myVar.Row
j = myVar.Column

this assumes myVar is a range variable

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"DaveyJones" wrote in message
...
I'm trying to find some code that will return the row number of a variable
'Val' as 'j' and the column as 'i'.

For example

Call A1

i=1, j=1

I've tried the row command but i'm not having much luck... Any help
appreciated.


--
Dave