Hi,
I have a perl-cgi script running from web, which has an output option to Excel. I use the following line to display the output in Excel.
"print header(-type=>'application/vnd.ms-excel');"
How ever, the problem is when i have a value like '10-04',
the output in Excel shows as 'April-10'. It recognizes as a date field though it is a character value.
My question is, how do i make Excel to accept all values as text values and not do any formatting for those values?
Thanks,
Madhu
I have a perl-cgi script running from web, which has an output option to Excel. I use the following line to display the output in Excel.
"print header(-type=>'application/vnd.ms-excel');"
How ever, the problem is when i have a value like '10-04',
the output in Excel shows as 'April-10'. It recognizes as a date field though it is a character value.
My question is, how do i make Excel to accept all values as text values and not do any formatting for those values?
Thanks,
Madhu