+ Reply to Thread
Results 1 to 3 of 3

Macro for Azerbaijani alphabet Find-Replace

  1. #1
    Registered User
    Join Date
    05-24-2014
    Posts
    2

    Macro for Azerbaijani alphabet Find-Replace

    Hey everyone,

    I'm currently working on a project that needs quite a lot of find-replace work. It has got mainly to do with the difficulty of transliterating Azerbaijani letters to English. I am looking to design a maro that will take the list of Azerbaijani letters found in cells on a sheet and convert to their appropriate latin equal.

    Example
    Ə to A
    ə to A
    Ö to o
    ö to ö
    Ü to U
    ü to u
    Ğ to G
    ğ to g
    Ç to Ch
    ç to ch
    Ş to Sh
    ş to sh
    İ to I (capital letter I in Azerbaijani has got a dot on top)

    I have tried several VBA option but none work all too well as I am quite inexperienced. What would be your go-to script in this case?

  2. #2
    Forum Contributor
    Join Date
    12-27-2012
    Location
    cebu, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    210

    Re: Macro for Azerbaijani alphabet Find-Replace

    i created something for yah

    but you need to follow my instructions (strictly) so this can work, this is tested and it works

    1. create a worksheet on the workbook you intend to use this. Name it "Character" (if the spelling is wrong it wont work).
    2. on this sheet ("Character") on Column A - Row 1 , Put a header - you can name it "Character"
    3. Below this column you put the special Characters that'll be replaced by the code - you can add as many characters needed - even a thousand..

    4. on the same sheet - on Column B - Row 1, put on a header - you can name it "Replace" or anything...
    5. on this column, you need to add the equivalent letters on the adjacent cells
    6. that sheet (Character) can be hidden - it should still work, but it will not work without that sheet...

    now you need to add a module for this
    1. google how to add a module into the workbook you need, if you already know how to add a module, below is the script you can add..
    Please Login or Register  to view this content.
    2. i attached a sample workbook you can check out...

    so 2 requirements for this to work - the worksheet (Characters) and the script above...


    Book1.xlsm
    don't worry, there's a lot of people that are far more confused than you
    but if you liked what i suggested. Click for me the "Add Reputation" - that way, we'd be both happy.

  3. #3
    Registered User
    Join Date
    05-24-2014
    Posts
    2

    Re: Macro for Azerbaijani alphabet Find-Replace

    Thanks a bunch my friend!

    The only issue is that the script is not case sensitive. This is particularly problematic considering the capital İ to I transform is the most difficult bit. Any pointers in that regard?

+ 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] How to replace alphabet by a number using VBA?
    By meprad in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-10-2013, 04:21 AM
  2. Find/Replace Macro Using Replace Table
    By LampCommandr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-24-2011, 11:00 AM
  3. Macro Code to find duplicate and add alphabet to it...........!
    By Thyagaraj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2006, 04:00 AM
  4. Using Find and Replace to replace " in a macro
    By snail30152 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2006, 06:58 PM
  5. Replies: 2
    Last Post: 07-26-2005, 03:05 AM

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