I need some help with this from someone with knowledge of userforms.
Please look at the example workbook I have attached and run the macro on sheet 1.
If you work through these (2) scenarios, you will notice that they do not act the same. When I say act, I mean that the userform does not appear to be in the same state at different points - but I would like them to be.
If I run the procedure to its entirety, and then select to run it again, it appears in a different state when compared to NOT running it to entirety and just closing out - THEN trying to re-run it.
Scenario 1:
Run the macro by bringing up the userform.
Select 1 building.
Hit Go.
Enter anything you want for a name (i.e "cvgtbhnjmk"), then enter any number (i.e 50000)
Tab over and hit submit.
Result - the userform enters the data as it should into Sheet1 - then hides iteself.
Scenario 2:
Run the macro by bringing up the userform.
Select 1 building.
Hit Go.
Now CLOSE out of the userform by hitting X in the upper right.
Result - the userform hides itself.
IT IS AT THIS POINT THAT WHEN I HIT THE "bring up userform" FOR A SECOND TIME - that the userform will be in two different states or appear to be different, but would think that they should be the same.
Any knowlegde of why they are different - and how do I solve that problem?
Thanks in advance.
Bookmarks