Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dates Formatted as Text When Exported to Excel 1

Status
Not open for further replies.

andrea96

Programmer
Jan 26, 2001
201
US
I have a report that contains two columns of dates (MM/dd/yyyy format). When the report is exported to Excel, the dates are formatted as text instead of dates, so they do not sort as expected. In Excel, the dates do not change to a date format until I click on or edit the cell. Is there a way to set the date format in the report and have it export to Excel in the correct date format?
 
Are the dates coming INTO the RS report as dates? Are they being manipulated at all in the RS report or have any functions applied to them? Generally, Excel is fine with dates exported from RS...

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Geoff,
Thanks. Someone told me that the stored procedure was returning dates, but I just checked for myself and it is converting the dates to char(10) before it returns the results to the report.
Thanks again,
Andrea
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top