+ Reply to Thread
Results 1 to 3 of 3

find and copy records from a text file

  1. #1
    Forum Contributor
    Join Date
    07-06-2007
    Posts
    101

    find and copy records from a text file

    Hi all

    Can someone please help me with vb code that will copy all records from a text file to excel worksheet, where there "[" appears in a record.

    So in following dummy data example, record 1 and 3 are copied into excel sheet and other two are ignored. Or record 2 and 4 are deleted completely.

    altretyy[e]jhgj
    fgfdgdfg
    asdf[t]ghdgh
    ghgafa

    Thank in advance
    GS
    Last edited by gsrai31; 08-11-2010 at 06:32 PM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: find and copy records from a text file

    Hi gsrai31
    one way is modify John Walkenbacks bread and butter import script

    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Contributor
    Join Date
    07-06-2007
    Posts
    101

    Re: find and copy records from a text file

    Hi Pike,

    Great !! thank you very much for your help with this.

    Best Regards
    GS

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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