Hello all,
I just discovered something while testing a userform within an Excel spreadsheet I'm working on that Stnkynts was nice enough to help me with. The userform searches through my data tab for specific records in order to edit them. While testing, I created multiple records using the same Unique ID. Now when I enter the ID in order to pull back the records, I am only retrieving the first record with that ID, the other records below that first one are not being retrieved using the userform. I know I have to enter a loop within my script so the search command button will go to the next record. When I attempted to enter a loop line into the script I can see the code is looping, but a new record isn't coming back into the userform, and my cursor appears to just cycle endlessly. What am I missing that will allow the userform to bring back the next record with the same record ID without cycling endlessly yet bringing nothing back? I've pasted the code I have, and I've also attached an example of the userform and the records I am attempting to retrieve. Thank you for any assistance.
Damian37
Bookmarks