Results 1 to 20 of 80

Thread: How to import a text file with more than 255 fields into Access

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,297
    Location
    I think that you are correct, which is probably why it is not adding anything.
    try changing this

    varSplit = Split(strInput, vbTab, , vbBinaryCompare)
    to

    varSplit = Split(strInput, ", ", , vbBinaryCompare)
    or

    varSplit = Split(strInput, ",", , vbBinaryCompare)
    or

    varSplit = Split(strInput, ", ", , CompareMethod.Text)
    or

    varSplit = Split(strInput, ",", , CompareMethod.Text)
    Last edited by Aussiebear; 12-28-2024 at 08:05 PM.

Posting Permissions

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