Any help would greatly be appreciated.
I am trying to access the properties of a checkbox on a form. To do this I stored the checkbox names in an array. I then want to call the properties with the array values but VBA does not recognize what I am trying to do. Below is the code I am trying to use.
Dim FormChkReport(2) As String
FormChkReport(0) = "Orange"
FormChkReport(1) = "Apple"
If(FormChkReport(i).Value = "True"
Then
End If
I am trying to access the properties of a checkbox on a form. To do this I stored the checkbox names in an array. I then want to call the properties with the array values but VBA does not recognize what I am trying to do. Below is the code I am trying to use.
Dim FormChkReport(2) As String
FormChkReport(0) = "Orange"
FormChkReport(1) = "Apple"
If(FormChkReport(i).Value = "True"
End If