Thanks guys, I made it work so that I can call in variables to the click procedure! I do have another thing. I want to write a code that's based on whether a checkbox is checked or not, but in a standard module (not in the form module) so that in the actual form module, I can just call the sub in the button event. E.g.
Code:
Module1
Sub Example()
If Chkbox = True Then
...
End if
End Sub
In the Form Module
Code:
Form1
Private Sub Btn_Click()
Call Example
End Sub
So far, in the standard module, it doesn't read whether checkbox has been checked or not. I want to AVOID going into the Form module and write something like this:
Code:
Form1
Private Sub Btn_Click()
If Chkbox = True Then
Call Example
End if
End Sub
Cause I have multiple things that I want to activate with the button and just want to have something like:
Code:
Form1
Private Sub Btn_Click()
Call Example
Call Example2
Call Example3
...
End Sub