+ Reply to Thread
Results 1 to 2 of 2

extracting chinese text from cell

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-05-2013
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    120

    extracting chinese text from cell

    Hi,

    I have to deal with an export from a program which does not support csv files or anything I know how to use easily. It's about a vocabulary export. I was able to extract some data using the len and left function in excel but now I don't know how to proceed.

    This is my output:
    <span style="   "><span style="font-size: 72px; ">你是中国人吗?</span><br>Nǐ shì zhōng guó rén ma ?</span>
    I want to extract the chinese writing in one cell and the english style written chinese words (pinyin) in the other

    Range("C3")="你是中国人吗?"
    Range("D3")="Nǐ shì zhōng guó rén ma ?"
    I know that it is always 50 Characters till the first word I want to extract and that it is 7 words from the left where the second term ends. Can I let vba search for the <br> and second </span> or something?

    Help is greatly appreciated!

    kind regards,

    Decar
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-05-2013
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    120

    Re: extracting chinese text from cell

    Found the solution using only formulas.


    first I used right and left formula to get rid of the outer stuff and then the combinations of left+find, right+find. No Idea why I did not see this earlier ^^

+ 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. Extracting text from the cell
    By NATALIA84 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-03-2012, 08:51 AM
  2. Replies: 1
    Last Post: 06-19-2012, 03:23 PM
  3. Extracting text from a cell
    By Cleman04 in forum Excel General
    Replies: 4
    Last Post: 06-25-2009, 03:16 PM
  4. Text is Chinese Under Excel 2003
    By Mark E. Deardorff in forum Excel General
    Replies: 0
    Last Post: 11-08-2005, 03:35 PM
  5. Text Box in Chinese Under Excel 2003
    By Mark E. Deardorff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-08-2005, 02:15 PM

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