Hello everyone,
What I am trying to do sounds simple but I don't know where I'm wrong in the code.
The process I want is: A person enters a number and clicks a button in sheet1, excel will search for a matching number in sheet2. When the number is found the information relating to that number is inserted into sheet1.
I hope that is kinda clear.
I had watched a youtube video to help with the code but even though I used the same code it wouldn't work for me. I think this is because I am using Excel 2010 and the video possibly had a different version.
I have attached my practice sheet which has the error.
I have tried to change a few things but still haven't got it to work. It only seems to be this line it is stuck on
If Sheets("New Material").Cells(x, 1) = Information.Range("B2") Then
Help is very much appreciated.
Test code.xlsm
Bookmarks