In the attached workbook, data is written to a hidden sheet (Data) via the use of a userform (the ADD NEW DATA button activates the AddNewData userform) - that part works great. Sometimes however, a user may need to amend an entry and initially, the OOPS button would simply open the hidden sheet to allow them to make changes - this was not the way I would like it to work as it introduces all kinds of inconsistencies with formatting where users are inputting data that's different to the combo or list box that adds data in the first place.
My thought then was to use another userform (identical to the AddNewData form) to make the necessary changes. The AmendData userform is activated by the OOps button. So, I have three main areas of difficulty:
1. I'd like the userform to open with populated data from the Data sheet, starting from the last record in the sheet (which would USUALLY be the record that needs amending);
2. I can't get the spinbox to show any more than 10 items of data even though there are some 70+ rows in the Data worksheet (user may need to scroll up or down occasionally to find a record to amend), and finally,
3. how do I save the amended data back to the Data worksheet? The user might change one or more fields and my hope is that the SAVE button on the form will simply (over)write the new data to the DATA sheet.
Any help would be appreciated so many thanks in advance to those willing to take a look for me.
Cheers,
AJ
Bookmarks