Hey guys,
I need help,
I need help with a VBA code.
In Sheet "INVOICE" , if a user types any data on - B11:B29 , then it vlooks up in sheet PRODUCT for the data.
Currently, in sheet "PRODUCT" , cell A11, has code "ak46" . Column "P11" shows that it is already sold because it contains "SOLD".
what i want is that , is a user enters any data in sheet "INVOICE" "B11:b29" , then i dont want it to allow the user to write that code if code contains "SOLD" in sheet "PRODUCT"
Example,
sheet "product" - b11 contains "ak46" . Column "p11" shows it is sold.
SO, in sheet INVOICE, if i try to write "ak46" in B11:B29, then it should not allow the user to write it.
Maybe can show a pop up that "CODE IS ALREADY SOLD"
Can anyone please help me ?
Thank you.
I ahve attached my workbook as well
Bookmarks