Aug 27, 2003 #1 mattborn Technical User Joined Jul 9, 2002 Messages 19 Location US I need to add a line of code that will select the entire row of the currently selected cell in Excel. Thanks!
I need to add a line of code that will select the entire row of the currently selected cell in Excel. Thanks!
Aug 27, 2003 #2 xlbo MIS Joined Mar 26, 2002 Messages 15,080 Location GB 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 Upvote 0 Downvote
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
Aug 27, 2003 #3 SQLBI IS-IT--Management Joined Jul 25, 2003 Messages 988 Location GB Matt, This code will select the entire row based on the active cell. Rows(ActiveCell.Row).Select Hope this helps. Leigh Moore LJM Analysis Ltd http://www.ljm-analysis.co.uk Upvote 0 Downvote
Matt, This code will select the entire row based on the active cell. Rows(ActiveCell.Row).Select Hope this helps. Leigh Moore LJM Analysis Ltd http://www.ljm-analysis.co.uk
Aug 27, 2003 #4 beniez IS-IT--Management Joined Mar 23, 2001 Messages 72 Location GB Matt Rows(ActiveCell.Row & ":" & ActiveCell.Row).Select HTH Ben Upvote 0 Downvote
Aug 27, 2003 #5 beniez IS-IT--Management Joined Mar 23, 2001 Messages 72 Location GB ... and mine was the least elegant solution Upvote 0 Downvote
Aug 27, 2003 Thread starter #6 mattborn Technical User Joined Jul 9, 2002 Messages 19 Location US Thanks everybody, all versions are appreciated! Upvote 0 Downvote