Aug 27, 2003 #1 mattborn Technical User Jul 9, 2002 19 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 Mar 26, 2002 15,080 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 Jul 25, 2003 988 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 Mar 23, 2001 72 GB Matt Rows(ActiveCell.Row & ":" & ActiveCell.Row).Select HTH Ben Upvote 0 Downvote
Aug 27, 2003 #5 beniez IS-IT--Management Mar 23, 2001 72 GB ... and mine was the least elegant solution Upvote 0 Downvote
Aug 27, 2003 Thread starter #6 mattborn Technical User Jul 9, 2002 19 US Thanks everybody, all versions are appreciated! Upvote 0 Downvote