Results 1 to 3 of 3

Double Quotation Tab Delemited?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Double Quotation Tab Delemited?

    I have been getting extra quotation marks on my products when uploading my tab delimited product feed to various shopping engines.
    I found a macro that removes the quotations but when I view the output file in notepad I see the quotation marks are gone but now the fields are separated by commas. Is it still a tab delimited file or so I need to keep searching for a different macro? I pasted the macro below.




    Public Sub TextNoModification()
    Const DELIMITER As String = "," 'or "|", vbTab, etc.
    Dim myRecord As Range
    Dim myField As Range
    Dim nFileNum As Long
    Dim sOut As String
    
    nFileNum = FreeFile
    Open "Test.txt" For Output As #nFileNum
    For Each myRecord In Range("A1:A" & _
    Range("A" & Rows.Count).End(xlUp).Row)
    With myRecord
    For Each myField In Range(.Cells(1), _
    Cells(.Row, Columns.Count).End(xlToLeft))
    sOut = sOut & DELIMITER & myField.Text
    Next myField
    Print #nFileNum, Mid(sOut, 2)
    sOut = Empty
    End With
    Next myRecord
    Close #nFileNum
    End Sub
    Last edited by wonderd; 11-07-2013 at 04:36 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Double Quotation Issue
    By soltun699 in forum Excel General
    Replies: 16
    Last Post: 11-03-2012, 03:34 PM
  2. double quotation marked
    By tikchye_oldLearner57 in forum Excel General
    Replies: 2
    Last Post: 08-20-2006, 02:45 AM
  3. [SOLVED] how to use (double) quotation mark as string in codes?
    By ViestaWu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-31-2006, 03:50 AM
  4. [SOLVED] Urgent ! CSV double quotation problem ?
    By kobeting in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-28-2006, 03:30 AM
  5. [SOLVED] How can export to CSV without excrescent double quotation marks?
    By gregor in forum Excel General
    Replies: 3
    Last Post: 01-26-2005, 10:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1