Hi again,
Thanks for posting your latest version.
Although your following code "works":
you are actually using the UserForm templates themselves rather than new instances of those UserForms. Good practice would create specific instances of the UserForms for use by your routine, for example:
Also, there's no need to name the "OK" Property of the second UserForm as "OK2" - the variables & properties used by each UserForm remain separated from each other, and when used in your calling routine each property will be prefixed by the variable which represents the specific UserForm (e.g. frm_2.OK), so there's no danger of the property values being "mixed up" by the calling routine.
Hope this helps - feel free to ask if there's anything you want further information on.
Regards,
Greg M
P. S. Regarding the previous post, there is a BIG difference between something that "works", and something that is well-designed!
Bookmarks