cjvenables
Board Regular
- Joined
- Aug 2, 2011
- Messages
- 65
Hello,
I have been having trouble finding a Macro that will find a value in a column, copy the row to the new sheet, and then go through all of the worksheets and do the same thing.
I have an Excel file with 12 tabs, 1 for each month, (January SAP, Februrary SAP, etc.). I need the IF to find a certain vendor number in Column H. If it is the right number, it copies the row and pastes to a blank sheet (Sheet2). Once it finishes with January, I need it to go to February, and so on.
I have been able to do it with 1 sheet, but have ran into trouble with other sheets. I would just throw all of the data into Access, but I have issues with certain pieces of data transferring, which is counter productive to the process.
Here is my data for each month worksheet:
Range A2:R350000
Value is in Column H
Value to find: 12345 (if it finds the value, it copy/pastes the entire row to Sheet 1). All of my other tabs have month name and SAP.
This seems pretty simple, I have not been able to merge a loop macro together with the IF macro.
Let me know if you need more data.
Thanks!
I have been having trouble finding a Macro that will find a value in a column, copy the row to the new sheet, and then go through all of the worksheets and do the same thing.
I have an Excel file with 12 tabs, 1 for each month, (January SAP, Februrary SAP, etc.). I need the IF to find a certain vendor number in Column H. If it is the right number, it copies the row and pastes to a blank sheet (Sheet2). Once it finishes with January, I need it to go to February, and so on.
I have been able to do it with 1 sheet, but have ran into trouble with other sheets. I would just throw all of the data into Access, but I have issues with certain pieces of data transferring, which is counter productive to the process.
Here is my data for each month worksheet:
Range A2:R350000
Value is in Column H
Value to find: 12345 (if it finds the value, it copy/pastes the entire row to Sheet 1). All of my other tabs have month name and SAP.
This seems pretty simple, I have not been able to merge a loop macro together with the IF macro.
Let me know if you need more data.
Thanks!