ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Exporting from Excel (https://www.excelbanter.com/excel-discussion-misc-queries/70241-exporting-excel.html)

Secret Squirrel

Exporting from Excel
 
I'm trying to export data from excel to access but I keep getting a syntax
error when I run the export. It seems to error out whenever I have a hyphen
in one of my text fields. For example "L.F. O'Leary". It errors out on this
because of the hyphen. Everything is set up as text format so why would it
error out because of the hyphen?

Secret Squirrel

Exporting from Excel
 
Correction... It's not a hyphen, it's an apostrophe that is causing the error.

"Secret Squirrel" wrote:

I'm trying to export data from excel to access but I keep getting a syntax
error when I run the export. It seems to error out whenever I have a hyphen
in one of my text fields. For example "L.F. O'Leary". It errors out on this
because of the hyphen. Everything is set up as text format so why would it
error out because of the hyphen?



All times are GMT +1. The time now is 02:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com