Hello,
I am brand new to this forum and VBA.
I have recently created two forms in my workbook:
1. one to add in a new customer to the end of the data - this one works and is good for what I need (green button in my attachment)
2. one that allows me to search data, based on school name, and display information that is contained in the worksheet - works but I would like to add an update button (red button in my attachment)
In the user form that searches the data (red button) I would like to be able to change any of the required fields - press an 'update' button - and the data would be replaced in the relevant cell in the "Data" sheet (based on the school name - this is unique in each row).
I have been searching for a few days and tried various ways to get it to work; although as I am new to this I don't understand where I am going wrong and have not been able to find a solution.
I would greatly appreciate if someone had an answer to my problem (I just need the code to make it work if possible); even if it is that it can't be done - at least I can stop looking!
I have attached what I have so far.
Thanks in advance for any help.
Bookmarks