I have dates in my excel sheet that originally were put in in the mm/dd/yyyy format. However I right clicked on it, did "Format Cell" and changed it to the "Jan-01" format. However when I do a comparison statement in VB it still compares the cells to the original format of mm/dd/yyyy and it messes up my statement. For example:
01/01/2009 is not equal to 01/05/2009, however Jan-09 is equal to Jan-09.
How do I get VB to see the cell's formatted version, not original.
01/01/2009 is not equal to 01/05/2009, however Jan-09 is equal to Jan-09.
How do I get VB to see the cell's formatted version, not original.