Stupid problem with combo box

G

GaryS

Hi, Im in a crunch and can't seem to get this to work.

If Not IsNull(Me.cboTerm) Then
If Me.cboTerm.Column(0) = 27 Then
Me.cboSmartProtect.Column(1) = 27

End If
End If

I get run-time error '424' Object required.

What am I doing wrong. This seems so simple. Thanks in advance for any help.
 
D

Douglas J Steele

The Column collection is read-only: you can't assign values to it like that.
 
G

GaryS

Oops! I guess I've never needed to do that before. Oh well, guess I go to
plan B. Thanks!
 
Top