I desperately need your help.
This is an excel wks designed for data entry in sheet "Input", data storage in sheet "PartsData".
"Order ID" is supposed not to allow duplicates. When a new record is inserted with an existing Order_ID, user is asked if he wants to update existing record.
BUG? -- As you can see in "PartsData", im starting off with 4 records (order_ID s 10100, 10101, 10102 and 10103). If i try to insert a new record in "Input" wks with Order_ID 10100 but with different values for "Part", "Location" and "Quantity", Excel tells me that that's an existing order_ID and asks if i want to UPDATE the existing record. I say YES.
RESULT -- Excel does NOT UPDATE the original Order_ID=1100 record, instead it creates ANOTHER Order_ID=1100 record OVERWRITING the previously existing Order_ID=10102 record. I lose one record and get a new record
Can someone tell me what's wrong? I need this corrected, as i was adapting this code for a work project, and know nothing about VBA... Thank you so much! - Joćo V.
Bookmarks