Hello there,
Below is a macro that provides an inputbox for you to enter the value you wish to search for in column A and then finds all instances of that value and copies its entire row and pastes it into a worksheet entitled "Sheet2".
To use this code press Alt and F8 at the same time on your keyboard. Then enter the text InputValue in the macro name box. Clear the contents if there is anything in there and then enter the text InputValue.
The select create. In between the Sub InputValue and End Sub paste the below code. Anything that appears in green is a comment I left to help you understand what the code was doing.
Right now the macro assumes your worksheet names are Sheet1 (copy from worksheet) and Sheet2 (copy to worksheet). Look through the code below and change the names of the worksheets to the names of your worksheets before running to ensure it works correctly.
To run the code press Alt F8 again and then select the InputValue Macro and select Run.
Let me know if this works for you!
Thanks!
Bookmarks