View Full Version : Datasheet ColumnHidden Run-time error 2455


pbdeegan
03-15-2000, 02:29 PM
I am getting a run-time error 2455 "...expression has invalid reference to the property ColumnHidden..." when I try to hide a column using:
Me![ColumnName].ColumnHidden = -1

The assignment statement is made after testing positively that the CurrentView is 2 or Datasheet view.
A MsgBox placed before the code above -
MsgBox Me![ColumnName].Value, vbOKOnly
displays the correct value in the MsgBox.