Results 1 to 2 of 2

Macro to Translate Text from Lookup Table

Threaded View

  1. #1
    Registered User
    Join Date
    10-22-2014
    Location
    South Africa
    MS-Off Ver
    2010
    Posts
    2

    Macro to Translate Text from Lookup Table

    Hi All

    My problem is a relatively simple one, however I am new to Macro's and haven't programmed much since a VB course 15 years ago... o.O

    I am trying to find the best solution to convert text from one language to another.

    A conversion table exists in a separate worksheet, and I have already successfully implemented the VLOOKUP or alternatively the INDEX(MATCH) functions which offer a quick (and dirty) solution, however these functions come with limitations in user friendliness for future document revisions.

    I am looking for help to create a macro that does a find and replace computation for about 1000 lines of text depending on language selection, with the ability to change back using the same lookup table.. I do not wish to use google translate as I require the translation to be 100% perfect based on the accuracy of the word list and I wish to keep the source document confidential.

    I found a similar post to modify website addresses, but I do not know how to customise this (or if there is a better solution) to my scenario
    http://www.excelforum.com/excel-gene...-a-string.html

    I upload a test excel file with the scenario. languagemacro.xlsx The requirement is to replace the words in worksheet (main) using the table in sheet (text)
    I have found some code to dynamically replace the names of the worksheets which I also need to incorporate into the final macro:

    Sub RenameSheet()
    Dim rs As Worksheet
    For Each rs In Sheets
    rs.Name = rs.Range("D1")
    Next rs
    End Sub
    I have used a created language for neutrality. "dif tor heh smusma!" (Live long and prosper!). I hope I followed all the rules for posting, if not, please let me know.

    Thank you
    Grunberger

    ** 2014_10_23 edit: I have solved this, and will post for others once I clean up the code. Thanks. Until then, here's the link that led me to my goal :
    HTML Code: 
    I will change this to resolved accordingly.
    Last edited by Grunberger; 10-23-2014 at 08:33 AM. Reason: Solved it

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do I translate text from one language to another with VBA?
    By anasttin in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 06-15-2017, 01:29 AM
  2. Sample Translate English to Arabic Text Using MS Translate
    By pidyok in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2013, 08:18 AM
  3. Using macro's to translate text via the internet
    By kccboy2004 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-17-2008, 04:37 AM
  4. Macro translate from number to text
    By thanhnguyen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-27-2006, 12:43 AM
  5. Do formulas in a table translate when sorted?
    By Matt@Major in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-04-2006, 03:50 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