You entered an invalid objecttype value '|' in an If TypeOf object Is objecttype condition of an If.Then.Else statement.@The ...

You entered an invalid objecttype value '|' in an If TypeOf object Is objecttype condition of an If...Then...Else statement.@The objecttype can be any one of the following: BoundObjectFrame, CheckBox, ComboBox, CommandButton, Label, Line, ListBox, UnboundObjectFrame, OptionButton, OptionGroup, PageBreak, Rectangle, Subform, Subreport, TextBox, ToggleButton, ImageControl, or OLEControl.@@1@@@1