Consulting

Results 1 to 4 of 4

Thread: Find and replace

  1. #1
    VBAX Newbie
    Joined
    Feb 2009
    Posts
    4
    Location

    Find and replace

    I have a text file with 400,000 records.
    I need to replace a string with another string in each record.
    What is the VBA command to do it?

    Eitan

  2. #2
    Knowledge Base Approver VBAX Guru GTO's Avatar
    Joined
    Sep 2008
    Posts
    3,368
    Location
    Greetings Eitan,

    I see that this is your first post, so let me be the first to say Welcome. I have been able to learn a lot here, and have met some really great folks who will go out of their way to help. I'm sure it will be the same for you

    As to your question, I think we would need at minimum, a little sample data (can be "made-up" as long as it accurately reflects) that shows how the textfile is delimited.

    Hope this helps,

    Mark

  3. #3
    VBAX Newbie
    Joined
    Feb 2009
    Posts
    4
    Location
    Quote Originally Posted by GTO
    Greetings Eitan,

    I see that this is your first post, so let me be the first to say Welcome. I have been able to learn a lot here, and have met some really great folks who will go out of their way to help. I'm sure it will be the same for you

    As to your question, I think we would need at minimum, a little sample data (can be "made-up" as long as it accurately reflects) that shows how the textfile is delimited.

    Hope this helps,

    Mark

  4. #4
    VBAX Newbie
    Joined
    Feb 2009
    Posts
    4
    Location
    Thank you Mark for your quick response.
    I already found the replace command.

    Thanks
    Eitan

Posting Permissions

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