Quote:
Originally Posted by harekrushna
Hi Guys,
I am sending an excel attachment in mail through shell script. It is successfully working but its removing the leading zeros.
For example one value of a column is "001465" but when I receive the excel sheet in my mail I found that the value has become "1465".
Can anyone please help me how to retain those leading values ?
Thanks in advance!!!!!
|
Don't use drag and drop. If you do, the mail client might alter the excel file.
[later edit:]
That might have been a stupid comment, given that you've said you're using a shell script. In Windows, for instance, Outlook might alter an excel file if you drag and drop it directly into the mail, instead of attaching it in the conventional way.
There's obviously no resemblance here to your problem, but perhaps you might try using a different mail client, just for the sake of it?