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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cell row and column

Status
Not open for further replies.

565u

Technical User
Apr 25, 2005
46
CZ
Hi!

I need to read the location of an active cell, wherever in the worksheet it is. I've been trying to figure this out for eternity.

Could anybody much smarter than me kindly help, please?


Many thanks in advance!!

Pavel
 
Something like this ?
MsgBox ActiveCell.Address

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Like this:
Code:
variable1 = ActiveCell.Address
?

[tt]_____
[blue]-John[/blue]
[/tt][red]"If you're flammable and have legs, you are never blocking a fire exit."[/red]
-Mitch Hedberg

Help us help you. Please read FAQ181-2886 before posting.
 
Your subject line says row and column, so perhaps something like this is what you are looking for:
Code:
  MsgBox "Active Cell: " & ActiveCell.Address & vbNewLine _
          & "Row:      " & ActiveCell.Row     & vbNewLine _
          & "Column:   " & ActiveCell.Column
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top