I'm trying to show some hint as text in cell for a few seconds as below.
Dim text As String
text = "Hello World"
If Range("A1") = 1 Then
Range("B1") = text
Application.Wait (Now + TimeValue("0:00:05"))
Range("B1") = ""
End If
The code runs perfectly if the vba has only the above code but for my case, there is a big chunk of codes before this "Hint" function. Whenever the IF statement turns TRUE, my mouse cursor would turn into window's loading sign without cell B1 showing anything.
After 5 sec, "Hello World" would appears very briefly before cell B1 becomes empty again, just as what it was intended to do, but with the timing all messed up.
I know the hardware may be at fault here but is there any other way to go around this?