Export to Excel, keep format

  • Thread starter Ana via AccessMonster.com
  • Start date
A

Ana via AccessMonster.com

When I'm exporting table from Access to Excel, I lose all formating. Some
colums in table are Format Number, some are Currency without symbol, but when
I export them to Excel they all are format General. Is there any possible way
to keep them formated?
 
D

Douglas J. Steele

Not without having to write VBA code to do the export for you using
Automation.
 
A

Ana via AccessMonster.com

OK, I presume that I need VBA in order to do it. What would be code for it?
Only to keep format, like Currency-none symbol, or Number-percent ? I don't
need the column with, fonts or things like that...
If you could help me, I would be most grateful...
 
G

Guest

Ana via AccessMonster.com said:
When I'm exporting table from Access to Excel, I lose all formating. Some
colums in table are Format Number, some are Currency without symbol, but
when
I export them to Excel they all are format General. Is there any possible
way
to keep them formated?
 
A

Ana via AccessMonster.com

Dear Douglas,
I followed the link you gave me, and I looked into your database. You have
table named Order Details and in it you have column named Discount. While
exporting to Excel you are losing that format so from 5% you have in Access,
you get 0,0500000007450581 in Excel. That's just the thing I'm trying to
avoid. How can I get 5% in Excel???
Thank you!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top