In case you're reffering to labels, the solution is quite easy:
'Create a label called "Label1" on an empty form
Sub Form_Activate()
[Form].TimerInterval=500 'time in millisecs
varText="TEST"
End Sub
Private Sub Form_Timer()
If [Label1].Visible Then
[Label1].Visible = False
Else
[Label1].Visible = True
End If
End Sub
That should do the job... If you want to do this with a text inside a textbox try the next one:
'Create a textbox called "Textbox1" on an empty form
Dim varText As String
Sub Form_Activate()
[Form].TimerInterval=500 'time in millisecs
varText="TEST"
End Sub
Private Sub Form_Timer()
If [Textbox1] = "" Then
[Textbox1] = varText
Else
[Textbox1] = ""
End If
End Sub
This is only for VBA, for VB you will first have to create a Timer Control on your form... Need any help then give me a sign.
Have fun!
Regards,
Thamar
Enter your message below
Sign in or Join us (it's free).