Apr 25, 2005 #1 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
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
Apr 25, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR 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 Upvote 0 Downvote
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
Apr 25, 2005 #3 AnotherHiggins Technical User Nov 25, 2003 6,259 US 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. Upvote 0 Downvote
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.
Apr 25, 2005 #4 Zathras Programmer Nov 12, 2002 3,317 US 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 Upvote 0 Downvote
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