Hi,
Been breaking my head over this one:
Got a sub that checks if 1 value is different from another value when you want to save the userform and write data to worksheets. If they are different, a msgbox is shown. When the user clicks yes, the sub writes another value and you can proceed. If the user clicks no, he should just go back to the useform, but with all data still visible (so don't clear the whole thing).
this is my code:
If I only usePlease Login or Register to view this content.
, i get a message it's already open.Please Login or Register to view this content.
The problem with the code I'm currently using, is that when a user tries to save the userform multiple times, and clicks 'No' multiple times, the userform opens 'X' amount of times (4x clicked 'No' - 4 userforms show behind eachother. So when i press cancel on the userform, I need to cancel 'X' times.
Anyone know a decent way of just 'unloading the messagebox and return to the filled in userform?
Thank you!
Bookmarks