View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bob[_16_] Bob[_16_] is offline
external usenet poster
 
Posts: 22
Default Date shows as a number

I have a date in cell E2 formatted as 2011/08/09

In cell G2 I have a small formula
="%changeNextPaydate( "&A2&"'"&E2&"' );"

This should display as %changeNextPaydate( 1001552205
‘2011/08/09’ );
But the date in cellE2 shows as the numeric ’40764’
giving me %changeNextPaydate( 1001552205
‘40764’ );

Does anybody know how I can correct this please.

With thanks