+ Reply to Thread
Results 1 to 9 of 9

Foreign letter replacement non-recognized characters

  1. #1
    Registered User
    Join Date
    10-07-2014
    Location
    Iowa
    MS-Off Ver
    2010
    Posts
    5

    Foreign letter replacement non-recognized characters

    I need to replace the following list of characters with the english

    e' ó ć č ū Š Á ý ģ ö ņ ž í ş š

    there is code everywhere for how to do it but I am running into a simple issue

    when I try replace several of the characters I get Cells.Replace What:="?", for example ū

    guessing its simple just not finding the answer, thanks for any help

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Foreign letter replacement non-recognized characters

    If you can make a list of the characters and what you want the replacements to be.

    Please Login or Register  to view this content.
    -
    findReplace.jpg

    I did notice the two Š and š are recognized as the same thing, if that is a problem, then we would have to loop through each line
    Last edited by davesexcel; 11-08-2019 at 10:11 AM.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Foreign letter replacement non-recognized characters

    Perhaps
    https://www.extendoffice.com/documen...haracters.html

    but the characters if you were to use the code(function) display 63 in a lot of cases, and your first character e' is actually 2 characters!

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Foreign letter replacement non-recognized characters

    Here is the looping code, it does recognize the difference between the two characters.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-07-2014
    Location
    Iowa
    MS-Off Ver
    2010
    Posts
    5

    Re: Foreign letter replacement non-recognized characters

    These characters are all in names, will that matter? Thanks again

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Foreign letter replacement non-recognized characters

    Will what matter?

  7. #7
    Registered User
    Join Date
    10-07-2014
    Location
    Iowa
    MS-Off Ver
    2010
    Posts
    5

    Re: Foreign letter replacement non-recognized characters

    Thank you so much for the help!! the code works great

  8. #8
    Registered User
    Join Date
    10-07-2014
    Location
    Iowa
    MS-Off Ver
    2010
    Posts
    5

    Re: Foreign letter replacement non-recognized characters

    One issue that I am struggling with if I run the code with formulas set to manually calc excel crashes 60 to 70% of the time but given the sheet size if I run on automatic it takes 15 minutes to calculate all the altered formulas. Any additional help?

  9. #9
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Foreign letter replacement non-recognized characters

    How many times do you need to run the code?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Change foreign characters in Excel
    By phynds in forum Excel General
    Replies: 22
    Last Post: 07-17-2019, 09:10 AM
  2. Highlight Foreign Characters
    By RAguilar in forum Excel General
    Replies: 4
    Last Post: 04-23-2016, 10:27 AM
  3. Foreign (non-English) characters in VBA
    By justforgroups in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2010, 06:48 PM
  4. bringing in foreign characters
    By agreenly in forum Excel General
    Replies: 0
    Last Post: 02-22-2008, 04:01 PM
  5. Replacing Foreign Characters in File
    By Big Guy in forum Excel General
    Replies: 1
    Last Post: 09-06-2006, 10:22 AM
  6. [SOLVED] Search for foreign characters
    By Isa in forum Excel General
    Replies: 1
    Last Post: 06-20-2006, 08:10 AM
  7. Using foreign characters
    By Victor in forum Excel General
    Replies: 1
    Last Post: 06-02-2006, 02:15 AM

Tags for this Thread

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