Hi, first time poster hear. I've read many of the posts and there are so many different ways to accomplish what I'm trying to do but being a novice at VBA I'm not sure if this is the best method. It also doesn't seem to be working 100% but I don't understand why.
In any event, I have a userform that has the displays rows from Sheet1. These rows can be selected from a listbox which then shows the "details" of what they've selected (otherwise the fields are blank and they can add a new record). When they select an existing record my userform shows the existing data - the issue comes in when they try to save/update that data. Below is the code I'm using:
The first record "txtSiteName" updates but none of the others do. What I would like is for it to search for that record, make all of the updates (in a single row). If it isn't found I would like for it to add a new record. Each row has a unique ID (that is in column A) that I need created when it saves (haven't worked on the Add New button yet so I'm not there yet![]()
Please Login or Register to view this content.
)
Again, thanks for any assistance.
Bookmarks