Removing characters from a linked table

RichardMGreen

Well-known Member
Joined
Feb 20, 2006
Messages
2,177
Hi all

I have a CSV file linked to an Access table.
Unfortunately, the CSV file has quotation marks (") at either end of each field.

Is there a way of getting Access to ignore the quotation marks so instead of a field reading
"This is the field item"
you get
This is the field item.

I don't really want to have to open the file and do a find and replace manually if it can be done in VBA?
If it helps, I'm already using VBA to repoint the path of the linked table if necessary.
I'm also using code to run a series of macros to build some temporary tables.

If it could be included as part of that, or if anyone has any other ideas, I'd be very grateful.

::edit::

Just a quick add-on, if I open the CSV in Excel, I don't get the quotation marks around each field.
Anyone know why that is?
 
Last edited:
As you say, ;-)

Given that the average size of the files is around 32MB, that wouldn't make SSE choke but leave well enough alone...

Denis
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Probably a good choice.
We've got SSMS installed so we have full SQL Server 2008 which would be even quicker, but they don't see it like that.
 
Upvote 0

Forum statistics

Threads
1,224,596
Messages
6,179,807
Members
452,944
Latest member
2558216095

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top