I defined a function in VBA that converts dates keyed in as YYYYMMDD t
be displayed as DD/MM/YYYY using "DateValue" command as well as th
Left, Mid and Right functions
However, excel will only display the dates in the serial numbers.
After the conversion into serial numbers (before 'end function'), i ha
this:
*ActiveCell.Select
Selection.NumberFormat = "dd/mm/yyyy"*
But somehow, it doesn't select that cell to convert into dd/mm/yyy
format.
I have to manually right click the cell and format it as date.
Is there anyway to do this in VBA
--
silves
-----------------------------------------------------------------------
silvest's Profile:
http://www.excelforum.com/member.php...fo&userid=1466
View this thread:
http://www.excelforum.com/showthread.php?threadid=26728