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

select entire row of current cell

Status
Not open for further replies.

mattborn

Technical User
Jul 9, 2002
19
0
0
US
I need to add a line of code that will select the entire row of the currently selected cell in Excel.

Thanks!
 
activecell.entirerow.select
should do the trick

Rgds, Geoff
[blue]Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?[/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
 
Matt

Rows(ActiveCell.Row & ":" & ActiveCell.Row).Select

HTH

Ben
 
... and mine was the least elegant solution :)
 
Thanks everybody, all versions are appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top