Thread: row number
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default row number

Hi Fred,

x = Activecell.Row

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"fred" wrote in message
om...
Hi

I want to select a row from a standard worksheet and in vba be able to
access that row using a variable.

ie click row 6
in vba use x=6

(familar with dim etc)

thank you

fred