I understand they are textboxes, but I didn't know if you were intentionally giving IS_1 priority over IR_1.
In otherwords, if IS_1.Text = Today_Low then it overwrites any images set by the first If statement. This could be more efficiently re-written as:VB Code:
If IS_1.Text = Today_Low Then Image1.Visible = True Image2.Visible = False ElseIf IR_1.Text = Today_High Then Image2.Visible = True Image1.Visible = False End If




Reply With Quote