I would like to display 3 different images on my form fMenu. I created three different images and placed them on the same spot of fMenu. Now I added this code but it is not working. What am I doing wrong? How do I fix it? Any help will be much appreciated.
I used similar codes to display 3 different welcome message on a different DB and that works just fine.
Thanks for your help.
M
Code:
Private Sub Form_Activate()
'When the database is opened rotate 3 different images.
If Time() < 0.5 Then
[Image1].Visible = False
[Image2].Visible = False
[Image3].Visible = True
ElseIf Time() > 0.5 And Time() < 0.75 Then
[Image1].Visible = False
[Image2].Visible = True
[Image3].Visible = False
ElseIf Time() > 0.75 Then
[Image1].Visible = True
[Image2].Visible = False
[Image3].Visible = False
End If
End Sub
Thanks for your help.
M
Comment