Hi, is it possible to re-use the same UserForm muliple times. I have a simple UserForm containing the Calender.
At the moment, the UserForm is hardcoded to cell H5.
I have 8 date fields, so can I re-use the UserForm? if so how?, or do I need 8 UserForms?
Here is the code for the UserForm
At the moment, the UserForm is hardcoded to cell H5.
I have 8 date fields, so can I re-use the UserForm? if so how?, or do I need 8 UserForms?
Here is the code for the UserForm
Code:
Private Sub Calendar1_Click()
Range("H5").Value = Calendar1.Value
UseForm1.Hide
Unload.UserForm1
End Sub