I don't get it Chip.
I put an unbound combo box, combo10, on the form with the MatTypeIDs. In the after event update I have this:
No matter what selection I make from the combo, it always says object required, error424. It points to the bold line in case Is =5
I put an unbound combo box, combo10, on the form with the MatTypeIDs. In the after event update I have this:
Code:
Select Case matTypeID Case Is = 1 TabCtl1.Pages(1).Visible = False TabCtl1.Pages(2).Visible = False TabCtl1.Pages(3).Visible = False TabCtl1.Pages(4).Visible = False Case Is = 2 TabCtl1.Pages(0).Visible = False TabCtl1.Pages(2).Visible = False TabCtl1.Pages(3).Visible = False TabCtl1.Pages(4).Visible = False Case Is = 3 TabCtl1.Pages(1).Visible = False TabCtl1.Pages(0).Visible = False TabCtl1.Pages(3).Visible = False TabCtl1.Pages(4).Visible = False Case Is = 4 TabCtl1.Pages(1).Visible = False TabCtl1.Pages(2).Visible = False TabCtl1.Pages(0).Visible = False TabCtl1.Pages(4).Visible = False Case Is = 5 [B]TabCtl1.Pages(1).Visible = False[/B] TabCtl1.Pages(2).Visible = False TabCtl1.Pages(3).Visible = False TabCtl1.Pages(0).Visible = False Case Else MsgBox "Unexpected Case" End Select
Comment