+ Reply to Thread
Results 1 to 3 of 3

Script for Find Replace Operation

  1. #1
    Registered User
    Join Date
    08-05-2006
    Posts
    63

    Script for Find Replace Operation

    Fellow Forum Members,
    Can someone out there please help me out with a scrpt that will do the following:

    I have five TEXT files, and each of these TEXT files contains three different text entries. What I need is an EXCEL script that will find and replace one set of text entries with three different text entries (ALL IN CAPS). Is it possible to write a script that will enable Excel to open each text file (located in specified path) then do a Find/Replace operation, and then close the TEXT file?

    This is a basic example. In reality I have 50 text files each one containing three text entries I need changed to something else. I'm currently doing this find/replace work manually and I would like to automate it. Any help will be greatly appreciated. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-05-2006
    Posts
    63

    Re: Script for Find Replace Operation

    Can anyone please help?

  3. #3
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Script for Find Replace Operation

    It sounds like you don't need a VBA solution. If so, try this great search and replace utility - http://www.inforapid.de/html/searchreplace.htm. It's quite old (2003), but I've used it for several years and not bothered to find a more recent utility to do the same job.

+ 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