M
MattShoreson
code is as follows:
Dim cbobox As Control
With ufrmRepoData
For Each cbobox In .Controls
If Right(cbobox.Name, 1) = 2 Then
If blnEnable Then cbobox.Interior.ColorIndex = vbWhite
End If
Next cbobox
End With
interior.colorindex doesnt work, how do I set the back colour via
code?
any help gratefully appreciated.
Matt.
Dim cbobox As Control
With ufrmRepoData
For Each cbobox In .Controls
If Right(cbobox.Name, 1) = 2 Then
If blnEnable Then cbobox.Interior.ColorIndex = vbWhite
End If
Next cbobox
End With
interior.colorindex doesnt work, how do I set the back colour via
code?
any help gratefully appreciated.
Matt.