Trying to make a formula blank.

If the following Ln on a sheet, grabs a value and that value is a Date.

ActiveWorkbook.Names.Add Name:="ColI", RefersToR1C1:="=" & Me.Name & "!R" & Target.Row & "C9" ' LnReqDelDate

however if the cell it is grabbing in column 9 from, is blank it returns:  1900-01-00

I use the formula on =ColI on another sheet to put that value in.
Is there another way to write the formula  =ColI so that if it returns 1900-01-00 (meaning blank) , it can make it ""     ??
RWayneHAsked:
Who is Participating?
 
Subodh Tiwari (Neeraj)Connect With a Mentor Excel & VBA ExpertCommented:
That's not the beg deal, you can custom format it with yyyy-mm-dd;;
0
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Custom format the formula cell with dd/mm/yyyy;; to hide 1900-01-00.
0
 
RWayneHAuthor Commented:
I cannot do that.. the required format is yyyy-mm-dd  because if it is not blank it needs to stay and use the date and in that specific reformat.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
RWayneHAuthor Commented:
it is already....  I need it to be blank without the 1900-01-00 showing   ""
0
 
RWayneHAuthor Commented:
any other value is acceptable > today.  I am having issue making the cell = ""
0
 
RWayneHAuthor Commented:
ohhhh  hello the suffix of ;;  that worked.  I feel tiny.
0
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Okay I made them bold so that you don't miss the complete syntax.
Glad it worked at last for you.
0
 
RWayneHAuthor Commented:
Thanks
0
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome. Glad to help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.