It was UserForm that I needed.
Thanks for the help and here is my oh so simple solution
Private Sub btnCancel_Click()
Call cancelButton(Me)
End Sub
Sub cancelButton(frm As UserForm)
Unload frm
End Sub
I am trying to create a sub procedure for cancel buttons across several forms.
The problem is that I need to be able to pass the form object to the procedure in order to unload the form.
Can anyone help?
I was wondering if anyone know of a way to enter information from one form onto another form.
The situation is thus:
I have a main form with textboxes on it however one text box is a compilation of several numbers, so I created another form in order enter in those numbers. I then pass this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.