JJ EXCEL1234
New Member
- Joined
- Jan 30, 2018
- Messages
- 12
I need help writing code to help with my job. Basically, this is what I need it to do:
Thats it! Hopefully it can do this for about 500 rows so I don't need to re-input data I already once input in a past assignment. Does this make sense?
Thanks in advance for the help. I started to learn VBA to try and solve this task. Any help would be much appreciated. I am very new to VBA and need all the help I can get.
JJ
- Sheet1 contains a list of unique numbers in column B, and columns in the same row containing no data
- Sheet2 contains prior data, which includes the same unique numbers and inputted data on the same row
- I need a script to go through the unique numbers on Sheet1 and search Sheet2 for the indenticle unique number
- If an identical number is not found, the script continues to the next row until no rows are left
- If an identical number is found, it will copy data from the columns of that row in sheet2 to sheet 1, but it will not overwrite data that is already in sheet1
- (so if the script finds a match to B3 from sheet1, on sheet2, it will copy data from sheet2 from C3, D3, etc and paste the values to sheet 1, but only for data boxes blank on sheet1.
Thats it! Hopefully it can do this for about 500 rows so I don't need to re-input data I already once input in a past assignment. Does this make sense?
Thanks in advance for the help. I started to learn VBA to try and solve this task. Any help would be much appreciated. I am very new to VBA and need all the help I can get.
JJ