hindersaliva
asked on
Excel VBA - getting rid of the green triangle
I have the dreaded green triangles when entering Date values into cells (with VBA). I want to lose them. I found this
Application.ErrorCheckingO ptions.Bac kgroundChe cking = False
However this turns off the error checking globally and I don't want to leave the users with this condition. Is there a way of fixing this in code? I tried formatting the cells to Text prior to entering the values but that didn't work.
Thanks!
Application.ErrorCheckingO
However this turns off the error checking globally and I don't want to leave the users with this condition. Is there a way of fixing this in code? I tried formatting the cells to Text prior to entering the values but that didn't work.
Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks everyone.
Answer to Sid' question - by code such as
Range("D4").Value = myDateVariable
I'll split the points between Zorvek and Teylyn.
Answer to Sid' question - by code such as
Range("D4").Value = myDateVariable
I'll split the points between Zorvek and Teylyn.
ASKER
Zorvek's detailed explanation is very helpful.
Sid