Link to home
Start Free TrialLog in
Avatar of expertsoul
expertsoulFlag for United States of America

asked on

Numeric varchar - Export to Excel

Hi Experts

I am trying to export some data which is in numeric format with 0 as prefix to few of the values as below.

01
02
03
34
56

When I export this data to excel, it is changed to

1
2
3
34
56

How do I keep '0' in place. Currently I am prefixing this data with a quote, but I guess there should be a better solution.
For export I am creating an HTML and exporting it as xls.

Let me know if any more info is required.
SOLUTION
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of expertsoul

ASKER

1. I am currently formatting it using a quote but actually that is also incorrect. If someone wants to load that excel directly that quote will be an issue.

2. I am not sure if I can use any formula while export html to excel.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial