If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Defining text qualifier in web query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-04, 19:41
Schof Schof is offline
Registered User
 
Join Date: Apr 2004
Posts: 3
Defining text qualifier in web query

Is there any way to define (or remove) the text qualifier when importing data using a web query?

Background
I have a file that is tab delimited but has double-quotes within some of the fields. When I import the file the default text qualifier is double-quotes so many fields get put in a single cell. However, when I re-import the file with the text qualifier as {none} the file imports perfectly.

The problem I have is importing the file using a web query because I cannot find a way to set the text qualifier to {none}. Anyone run into this before and figured out how to fix it or work around it? Please note, changing the source data is not an option.

Code snippet
With ActiveSheet.QueryTables.Add(UrlStr, Range("A1"))
.Refresh
End With
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On