Leading ' in cell values when data is Exported to Excel 2002

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, when exporting data to Excel, all of the cells have a leading ' .
Any ideas on how to keep this from happening?

I have not seen this with earlier versions of Excel and am experiencing this
problem when Exporting data from WinRunner and from MS Access through VBA.

Much appreciated, thanks.
 
Hi
you may try after importing the following line of code

range.value=range.value
 
If you see that leading apostrophe in the formula bar, maybe it's just a setting
you have to toggle.

Tools|options|transition tab|uncheck "transition navigation keys"
 
Jimmy said:
Hello, when exporting data to Excel, all of the cells have a leading ' .
Any ideas on how to keep this from happening?

This should only happen where the column's data type is text. This
behaviour is by design so that a cell of data type text that contains
only numeric characters is seen by Excel as text and not a numeric
value.

If the exported column *supposed* to be numeric (check you database
schema) but is appearing in Excel with leading apostrophes, then you
have a problem with your export.

Jamie.

--
 

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

Back
Top