Add support to column and sheet names which are in Japanese - excel

I wrote some logic to autogenerate string based on column Name and sheetName in VBA. It was working fine for english language.
Now, I need to do the same work for Japanese template as well as. In VBA editor, I am getting
Japanese sheetName/columnName as "-----------".
But it works if I change the language of my system from English to Japanese.
Is there any way to make Japanese template work in English OS as well?

Related

Is it possible to use English name for Excel functions\formula if I am using italian version?

I am not so into Excel and I am going mad. I have an italian version of Excel and it have the functions\formulas name in italian (pretty horrible), is it possible to set Excel to: "Use the English name for the function"?
In case, if it is possible, for me it is not a problem set the entire Excel language in English...

excel formula localization

I developed a macro heavy excel file with multiple country tabs that are intended to be updated by people in different countries.
I am having a trouble with a user that updated the file with the excel with Russian locale settings. Somehow formulas in the tab(where she did changes) were translated into Russian (SUM -> СУММ) and when another colleague with the German locale settings opened the file, only these formulas were not translated back to German(the file was pretty much broken). The German user could still see the Russian formuals. The other English formulas were properly translated to German.
I am looking for a way to:
Either stick to English locale in the file on all systems;
or to make sure that formula translation is done properly.
I will appreciate any hint.
Thanks!

Excel 365 function/formula names gets translated. How to avoid it?

I am using excel 365 (web) within 3 computers (one with Win8.1, another with W10, and a tablet with W10 also), each with one language configuration (between English and Spanish, not in my hand to change, sorry)
Also, I open the workbooks with the App version on the Desktop
it occurs that in browsers, I need to type formulas in Spanish instead of English to work, (i.e. SUMA instead of SUM) even in the pick up list appear in English, even keyboard is set to English and nevermind if computer is set to Spanish or English
How can avoid excel translating formulas at every single time?
I have my profile all set up in English in oneDrive, and everything else happens to be in English. Only thing set up to Spain is my location (as I am located now indeed in Spain) but try to set everything else, even my Account-location on UK.
Excel uses the system settings for its language choice, even "," , "." , ";" and ":" behave differently based on thr system settings.
Set or install all 3 computers to the same language from the start, just setting the keyboard layout is not sufficient.

VBA - How to filter for french words or another language with accents

I am running a macro that has to autofilter for specific words for a number of languages. However since VBA does not read unicode I have had to be creative in filtering for languages such as Japanese. I recorded myself filtering for はい and within the recorded macro it denoted this as "‚Í‚¢". I was able to use this same method to essentially have VBA read and output in Japanese.
I am working on the other languages now and have run into a wall as this same method does not seem to work with languages with accents. For example in French, d'enchères, simply is recorded as d'encheres so when I run the macro it does not find d'enchères.
2 part question:
1) What language/code is "‚Í‚¢"? Why is VBA able to read and display this as はい but I cannot directly input はい into my code?
2) Any suggestions on a way for me to autofilter for specific words that contain accents?
Any help is appreciated, as I am a novice!

Does Range.Formula property translate to other locale

When a user manually enters formula in a sheet in the English version of Excel and sends this document to another user who has Excel in another version, the formula is automatically translated to the language in which the document is opened.
'Formula entered in Sheet1!B1 in the English Excel version
=VLOOKUP(A1,Sheet2!$A$1:$C$150,3,FALSE)
'Formula as shown in a Dutch Excel version
=VERT.ZOEKEN(A1;Sheet2!$A$1:$C$150;3;ONWAAR)
When I programmatically add a formula, in my English version, it would look like this:
Sub AddFormula()
ThisWorkbook.Worksheets("Sheet1").Cells(1, 2).Formula = "=VLOOKUP(A1,Sheet2!$A$1:$C$150,3,FALSE)"
End Sub
If I were to run this procedure on my English Version, then save the document and send it over to a user with another language, it would be fine as the formula is in the cell and thus translated to whatever language and locale the 2nd user uses.
My question is what happens when the 2nd user runs the procedure, in the Dutch (or other language for that matter) Excel with the formula in the code written in the EN-US format. Will it be translated or will it throw an error and in case of the latter, how would I solve that and make the formula insertion language proof?
In Excel vba the .Formula requires that the formula to be inserted be in EN-USA format. This is regardless of the local settings.
Excel will then translate it into the local vernacular when putting it in the sheet.
So no matter what the local settings it will work cross languages.
VBA also has the .FormulaLocal which allows the entry of the formula in the native language. But (as far as I know) it will not work cross different local settings.

Resources