During execution of one of my applications, the user can go to a particular UserForm and change the units. For example, bar to psi. In order for the correct units (psi) to be displayed, all userforms that have pressure unit lables are unloaded (rather than hidden) so that when the userform is opened it will run the Initialize sub which changes the labels to "psi" for all the pressure inputs. The problem is that when the "Unload UserForm1" code is executed, it sometimes runs the Initialize sub before the UserForm is unloaded. I want the Initialize sub to always run when the UserForm is opened, not when it is closed. Is there a way to do this?
Bookmarks