+ Reply to Thread
Results 1 to 3 of 3

Replace all symbols/letters according to a list in 2nd. sheet

  1. #1
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    Replace all symbols/letters according to a list in 2nd. sheet

    Hello every one,
    I have to convert an old dos program file to excel. I already have the list in excel but the text is in strange symbols. I know which symbol represents which

    letter. As have many files to convert each time I need a makro which would save me lot of time.

    I have two worksheets: "1" and "2". I need a makro which replaces symbols in sheet "1" Column A through key list in sheet "2".

    Example:
    ____________________________________
    Before:

    "1" Column A
    stra~e
    m§ger
    §u~ere
    wei~
    w+&tte
    searچ

    "2" Column A-------------Column B
    ~ ------------- ss
    § ------------- Ae
    +& ------------- a
    چ ------------- ch


    after running the makro sheet "1" should become:

    "1" Column A
    strasse
    mAeger
    Aeussere
    weiss
    watte
    search
    _____________________________________

    Its very important that the replacement takes place one after another according to the order in key list of "2". That would mean according to our example

    that the the third entry in column A "§u~ere" would become in first step "§ussere" because the key for "~" has first position. After the replacement of "~"

    to "ss" is complete then the next replacement should be done. And so on...

    In example i have used only few rows but the real text contains of many thousand cells in sheet "1" and many dozens symbol and their keys in sheet "2".

    Thank you very much for each assistance.
    Attached Files Attached Files
    Last edited by wali; 06-10-2009 at 04:08 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Replace all symbols/letters according to a list in 2nd. sheet

    Hi

    Try this.

    Please Login or Register  to view this content.

    rylo

  3. #3
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    Re: Replace all symbols/letters according to a list in 2nd. sheet

    Dear rylo,
    your code is perfect as always. Thank you very very much. Its really a great help! Million thanks

+ 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