Hi, I have a userform where staff will go into "Add case" tab to enter data. After selecting Sample Type, entering Marking and Mortuary No, they will click "Add". This command will add the data into textbox16. One problem here is that the "Case assigned" number should remain as "DVI-00001" if "Add" command is clicked, such that the next data added into textbox16 will have "DVI-00001-002". The "Case assigned" number should change to "DVI-00002-001" if the "Prelog" command is clicked. I'm having problems trying to make that happen.
Staff will carry on adding to the textbox based on how much data there is, after which, they will click Prelog. This command will add the data into the worksheet. I'm having problems trying to get the data from textbox16 into the worksheet. The data needs to be split into the respective rows and columns according to the same heading.
Any help is appreciated
Bookmarks