how to use INDIC LANGUAGE in VBA?

appu_gusai

New Member
Joined
Aug 13, 2012
Messages
35
hello ever 1,

this is my 1st post,

please tell me how to use Indic Gujarati Language in VBA with Excel 2003?

i m need to English Number to Gujarati Text formula, if any one have it give me, thank';s in advance :)

like 120=એક સો વીસ

thank's in advance :)
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi

THe point in my post (post #6) was to explain how you can use your characters.

Maybe you should read it again, checking the options.

There are several options, I posted the code for one of them.

In your code replace

Code:
WORDs(1) = "એક "

with

Code:
WORDs(1) = ChrW(&HA8F) & ChrW(&HA95) & " "

and the same for the other words, using the Unicode codes that your can find for ex. in the link I posted.

Please try with 2 or 3 words to see that it works and then replace all.

Remark:

You should change the declaration:

Code:
Dim LENFIG As Integer

to

Code:
Dim FIGLEN As Integer

as that's the name of the variable you use later.

You should have at the beginning of the module

Code:
Option Explicit

THis would tell you immediately that there's this syntax error.
 
Upvote 0
Hi

THe point in my post (post #6) was to explain how you can use your characters.

Maybe you should read it again, checking the options.

There are several options, I posted the code for one of them.

In your code replace

Code:
WORDs(1) = "એક "

with

Code:
WORDs(1) = ChrW(&HA8F) & ChrW(&HA95) & " "

and the same for the other words, using the Unicode codes that your can find for ex. in the link I posted.

Please try with 2 or 3 words to see that it works and then replace all.

Remark:

You should change the declaration:

Code:
Dim LENFIG As Integer

to

Code:
Dim FIGLEN As Integer

as that's the name of the variable you use later.

You should have at the beginning of the module

Code:
Option Explicit

THis would tell you immediately that there's this syntax error.


thank's for this :) 90% done it, full code i will check later

thank's a million :)
 
Upvote 0
I'm glad it helped. Thanks for the feedback.

i have done with full function :), thank's a million for this SIR

lil more help SIR,
now 1 issue in this function

it's only for 200 hundred, when i type
Code:
200 = અંકે ૱પિયા બે સો પુરા
but m need 200 = અંકે ૱પિયા બ સો પુરા
 
Upvote 0
i have done with full function :), thank's a million for this SIR

lil more help SIR,
now 1 issue in this function

it's only for 200 hundred, when i type
Code:
200 = અંકે ૱પિયા બે સો પુરા
but m need 200 = અંકે ૱પિયા બ સો પુરા

Hi

From what I understood in your laguage you have "dependent vowels" that can be combined with other characters.

The code for this sign follows immediately after the base character.

THe only difference I can see in the strings you posted is the characters બ and બે.

In this case try:

Code:
Range("A1").Value = ChrW(&HAAC)
Range("A2").Value = ChrW(&HAAC) & ChrW(&HAC7)

You'll see બ in A1 and બે in A2.

Since I don't know your language it's difficult to me to know which characters you have to combine to compose the characters.
I think you should study the "Gujarati Signs and Punctuations" section in the link I posted.

I hope this helps.
 
Last edited:
Upvote 0
Hi

From what I understood in your laguage you have "dependent vowels" that can be combined with other characters.

The code for this sign follows immediately after the base character.

THe only difference I can see in the strings you posted is the characters બ and બે.

In this case try:

Code:
Range("A1").Value = ChrW(&HAAC)
Range("A2").Value = ChrW(&HAAC) & ChrW(&HAC7)

You'll see બ in A1 and બે in A2.

Since I don't know your language it's difficult to me to know which characters you have to combine to compose the characters.
I think you should study the "Gujarati Signs and Punctuations" section in the link I posted.

I hope this helps.

hello SIR

this is right, but i need in that FUNCTION, when we type in A1 Cell 200, function call it અંકે ૱પિયા બે સો પુરા, but i need it in function અંકે ૱પિયા બ સો પુરા :)

how to code in that function :), that is only for 200, all other value is set :), when we type 200 function call for
અંકે ૱પિયા બ સો પુરા

u just tell me how to code it, i managed my language

thank's a lot for this :)
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top