I am going crazy here. I am looking at a code, and basically there was a cell that looks like this:
traindate ---- 2005/12/21 and they converted this to a number simply by going traindate = ActiveCell
and traindate=right(traindate, 10)
and then they pasted this in a random cell and changed the cell format to general and bada bing we have a number. Now I want to know how to do this manually. If i type a date into a cell and then convert to general i still only have a date. How in the world do you do this, and why did it work in his case. If i type a number into a cell and click format date, then i get a date from the number, but not the other way around for some reason????
thanks
Bookmarks