Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

row number for active cell

Status
Not open for further replies.

BoFenger

Programmer
Aug 6, 2003
22
DK
I am a beginner :) I use the find command to find a textstring and activate the cell, but how can I find what row number the active cell has?

\Bo
 
If you are using something like

set c = sheets(1).columns("A").find(textstring)

c.row
will give you the row
or
activecell.row
will work if you really must activate the cell

Rgds, Geoff
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
Want the best answers to your questions ? faq222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top