Jagwarman
asked on
Select entire row from any cell
Is the a piece of code that will enable me to select the entire row and copy that row from the cell I have landed on. i.e. My macro looks for a specific word, when it finds the word it selects the cell. Lets say I am on cell P32, can I then select the entire row 32?
I am using 2010
Thank you
I am using 2010
Thank you
and if you want to go on and select that row
Dim x As Long
x = ActiveCell.Row
Rows(x).Select
Dim x As Long
x = ActiveCell.Row
Rows(x).Select
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
or
activecell.entirerow.copy
activecell.entirerow.copy
ASKER
brilliant
Thank you
Thank you
ActiveCell.Row
eg
MsgBox "The row is " & ActiveCell.Row