View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ashishprem[_3_] ashishprem[_3_] is offline
external usenet poster
 
Posts: 1
Default problem regarding date conversion


Hi All,
I have 2 sheets. In first sheet one column is there for date. But the
data in that column is coming from one text file..
for example the data in text file are like this:
11/01/06 11:26:40
28/06/05 15:59:28
when i am saving this data in excel sheet it is being saved as
11/01/06
28/06/05 15:59:28
the format of the column is mm/dd/yy

but when i am copyng from this first excel sheet to second excel sheet
using macro its coming correct for the first data (11/01/06) but for
the secomd data its coming decimal format like 30589.3264
Please help me.
Thanks


--
ashishprem
------------------------------------------------------------------------
ashishprem's Profile: http://www.excelforum.com/member.php...o&userid=31485
View this thread: http://www.excelforum.com/showthread...hreadid=511712