Results 1 to 5 of 5

how to split English and Arabic character?

Threaded View

  1. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: how to split English and Arabic character?

    Try this:-
    Results separated into columns "A"and "B"
    Sub MG22Aug59
    Dim Rng As Range, Dn As Range, Sp As Variant, S1 As String, S2 As String, n As Long, t
    Set Rng = Range(Range("A1"), Range("A" & Rows.Count).End(xlUp))
    For Each Dn In Rng
    Sp = Split(Dn.Value)
    S1 = "": S2 = ""
    For n = 0 To UBound(Sp)
        If Mid(Sp(n), 1, 1) Like "[A-Za-z]" Then
            S1 = S1 & " " & Sp(n)
        Else
            S2 = S2 & " " & Sp(n)
        End If
    Next n
    Dn.Value = S1
    Dn.Offset(, 1) = S2
    Next Dn
    End Sub
    Regards Mick
    Last edited by MickG; 08-22-2015 at 10:31 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. split between arabic and english in one cell into two cell
    By basstk in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-27-2022, 08:07 AM
  2. [SOLVED] how to split English and Arabic character?
    By Reeya in forum Excel General
    Replies: 3
    Last Post: 08-22-2015, 11:12 AM
  3. how to convert the text in a column from arabic to english language
    By grk2006 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2015, 06:45 AM
  4. How to convert numbers from Arabic to English
    By voltaire101 in forum Excel General
    Replies: 5
    Last Post: 08-08-2015, 12:54 PM
  5. Need to translate from Arabic language to English
    By gaminguy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2013, 09:27 AM
  6. Need to translate from Arabic language to English
    By gaminguy in forum Excel General
    Replies: 1
    Last Post: 01-10-2013, 05:22 AM
  7. [SOLVED] Convert arabic number to english text
    By TSK in forum Excel General
    Replies: 2
    Last Post: 07-09-2005, 06: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