+ Reply to Thread
Results 1 to 2 of 2

russian characters in text

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2016
    Posts
    187

    russian characters in text

    Hi

    I have an interesting thing to do:

    I have to process a text file containing russian characters - encapsulated with english strings.
    I have to get the russian strings, but I have 2 issues with it:

    1) There is no rule to identify where it starts, so I guess I need to use some regular expression, but I absolutely don't know how to do it. Maybe I have get back the ascii code of each character of the string to check if it is a russian or not.

    2) If I evaluate the contents of the cells, I found, that russian characters appeart as ??-s in the immediate window, so it is not possible to make any check, I guess, this is the problem to solve first, which obviously possible, as I guess, excel is in used in Russia, too.

    Can somebody advice how to start with this?

    Thanks

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: russian characters in text

    Hello HarryKlein,

    This macro will let you choose the text file to open. It will scan the file for any Cyrillic characters and save them as individual words. The words are then output to column "A" of the ActiveSheet starting with cell A2.

    This may not match your needs exactly. But should be a good starting point. Copy the code and paste it into a new VBA Module in your workbook.

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. Remove Text characters, leaving numerical characters
    By aschwalge in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-01-2016, 06:42 PM
  2. CSV export with Russian letters
    By sakinen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-28-2011, 01:43 PM
  3. Excel changes to Russian?
    By Loneless in forum Excel General
    Replies: 0
    Last Post: 02-07-2011, 07:34 PM
  4. russian excel vlookup
    By S.O'Reilly in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-24-2006, 02:20 PM
  5. [SOLVED] Russian Language
    By bennyob in forum Excel General
    Replies: 3
    Last Post: 11-04-2005, 11:10 AM
  6. [SOLVED] Using Russian Language in Excel
    By langron in forum Excel General
    Replies: 0
    Last Post: 05-15-2005, 05:07 PM

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