Hello, I'm trying to get an arrow to flash once a button is pressed if the textbox wasnt filled out correct. A message asking the person to fillout PO number and arrow would flash to identify where it should be entered.
thats what I have so far, but it's not working I get "object doesnt support this property or method"
Thank You,
thats what I have so far, but it's not working I get "object doesnt support this property or method"
Thank You,
Code:
If ActiveSheet.Shapes.Range(Array("TextBox1")).Value = Not numeric or ActiveSheet.Shapes.Range(Array("TextBox1")).Value = 0 Then
Dim Correct As String
Dim MESSAGE As String
MESSAGE = "Please enter PO NUMBER"
Correct = MsgBox(MESSAGE, vbQuestion + vbOKCancel, "Fillout Properly")
End If
If Correct = vbOK Then
ActiveSheet.Shapes.Range(Array("Left Arrow 2")).Visible = True
Dim myTime As Date
'Current time +5 sec /60 secs/60 mins/24 hrs
myTime = Time + 1 / 86400
'Wait for 5 secs
While Time < myTime
DoEvents
Wend
ActiveSheet.Shapes.Range(Array("Left Arrow 2")).Visible = False
'Else
'Exit Sub
End If