I am working on a userform to enter data where each data type may not have any units to input. What I would like to do is type in the invoice number. If it exists it will show the data for that invoice number. It will also show the first filled prime key with a number greater than 0. When I click next it will go to the next prime key with a value greater than 0, not the next row. If the index number isn't in the form, it will ask if I would like to create a new invoice. No closes the question and nothing changes. Yes adds that invoice # to the next blank line in the table and I have the ability to choose the prime key and enter a quantity for that prime key. Then click add. Adding does not add a new line, only a new quantity to the prime key currently selected. If there is a quantity already in that prime key I would like a pop up to ask if I'm sure I want to overwrite the current quantity. Close Closes the form and saves the worksheet. Oh and the description shows whatever prime key is chosen so prime key 2 would show the contents of C3 and prime key 3 would show D3 etc. I have no clue how to do any of this so even one bit at a time would be great. I attached what I have so far and included these instructions in the userform to simplify it for anyone helping. Thanks So much!
Bookmarks