G
Guest
Good afternoon,
I am using a VBA module to open an Access form. Form contains several check
boxes to offer a user to select which documents they would like to print, but
I need to know what VBA commands to use that will tell if a check box is
checked or not. I tried using an If statement like: (Note check29 is name of
checkbox on form)
If check29 = True Then
Debug.Print "Print 29"
Else
End If
And procedure will compile and run, but won't print anything in the
immediate window no matter if box is checked or not. Do I have to refresh
form or anything?
I tried to also use a boolean variable and set variable = check29 and used
that in If statement but still no difference. Should I use a Me.check29
statement instead? If so, I am not sure how to do this.
Any suggestions? Thanks.
Cordially,
I am using a VBA module to open an Access form. Form contains several check
boxes to offer a user to select which documents they would like to print, but
I need to know what VBA commands to use that will tell if a check box is
checked or not. I tried using an If statement like: (Note check29 is name of
checkbox on form)
If check29 = True Then
Debug.Print "Print 29"
Else
End If
And procedure will compile and run, but won't print anything in the
immediate window no matter if box is checked or not. Do I have to refresh
form or anything?
I tried to also use a boolean variable and set variable = check29 and used
that in If statement but still no difference. Should I use a Me.check29
statement instead? If so, I am not sure how to do this.
Any suggestions? Thanks.
Cordially,