Title updated to comply with forum rules.
Help my VBA skills have become rusty through lack of use and I have a tight deadline to meet. I have created a UserForm for a dataset (MASTER LIST) and I’m struggling to remember how to code it up to make it work.
As you can see from the attached sample file I have managed to design the form and get the Add/Close buttons to work (yeah me).
First of all I want to be able to browse the data in the form however I cannot remember how to get the form to find and display the dataset. I also cannot remember what code I need for the Next and Previous buttons.
The form currently creates a URN for new records but I realise this might be a problem if I want it to open up as a “browser”. I may need another button to create a New record or have the Next/Previous buttons perform the update when focus moves to another record.
I also want to be able to edit the records while browsing so I’m looking for code to make the Update button work.
My plan is to access the form using a button located on a separate sheet which will also contain user guidance.
I should also mention that the pink boxes in the form are not enabled as these cells in the data contain formulas (lookups, index and if’s etc). I don’t have time to code these in VBA even if I could remember how to do it right now. I’ve opted to copy and fill the formulas to several empty rows in these columns as there probably won’t be too many additions to the dataset anyway.
I think I need to find a VBA refresher course and/or buy some books – recommendations welcome – but in the meantime I really hope someone can help me.
Many Thanks.
Bookmarks