ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Check Ms Office/Excel language version (https://www.excelbanter.com/excel-programming/386523-check-ms-office-excel-language-version.html)

Mario[_10_]

Check Ms Office/Excel language version
 
Hi there ,
Is there a way to check the language version of an Ms Office - ( Excel -
Access , etc ) installation.
I have the following problem :

I got some code to get all available printers on a machine.
And on an English Ms office / windows the printer gets the word ON before
the portvalue
for instance : HP 4100 Laserjet on Ne01:

If i run the code on a FRENCH installation of Ms Office it should change the
ON word into SUR
for instance : HP 4100 Laserjet sur Ne01:

I'd like to adapt the code to check the language version first to be able to
change the words ON / SUR words.

Many thanks
Mario



NickHK

Check Ms Office/Excel language version
 
Mario,
?application.International(xlCountryCode)

NickHK

"Mario" wrote in message
...
Hi there ,
Is there a way to check the language version of an Ms Office - ( Excel -
Access , etc ) installation.
I have the following problem :

I got some code to get all available printers on a machine.
And on an English Ms office / windows the printer gets the word ON before
the portvalue
for instance : HP 4100 Laserjet on Ne01:

If i run the code on a FRENCH installation of Ms Office it should change

the
ON word into SUR
for instance : HP 4100 Laserjet sur Ne01:

I'd like to adapt the code to check the language version first to be able

to
change the words ON / SUR words.

Many thanks
Mario





Mario[_10_]

Check Ms Office/Excel language version
 
Nick ,
Work fine , but is there a list with all countrycode values?
Mario

"NickHK" wrote in message
...
Mario,
?application.International(xlCountryCode)

NickHK

"Mario" wrote in message
...
Hi there ,
Is there a way to check the language version of an Ms Office - ( Excel -
Access , etc ) installation.
I have the following problem :

I got some code to get all available printers on a machine.
And on an English Ms office / windows the printer gets the word ON before
the portvalue
for instance : HP 4100 Laserjet on Ne01:

If i run the code on a FRENCH installation of Ms Office it should change

the
ON word into SUR
for instance : HP 4100 Laserjet sur Ne01:

I'd like to adapt the code to check the language version first to be able

to
change the words ON / SUR words.

Many thanks
Mario







Mario[_10_]

Check Ms Office/Excel language version
 
Ok , found the info at microsoft site.
Again many trhanks for the quick respons.

Mario

"Mario" wrote in message
...
Nick ,
Work fine , but is there a list with all countrycode values?
Mario

"NickHK" wrote in message
...
Mario,
?application.International(xlCountryCode)

NickHK

"Mario" wrote in message
...
Hi there ,
Is there a way to check the language version of an Ms Office - ( Excel -
Access , etc ) installation.
I have the following problem :

I got some code to get all available printers on a machine.
And on an English Ms office / windows the printer gets the word ON
before
the portvalue
for instance : HP 4100 Laserjet on Ne01:

If i run the code on a FRENCH installation of Ms Office it should change

the
ON word into SUR
for instance : HP 4100 Laserjet sur Ne01:

I'd like to adapt the code to check the language version first to be
able

to
change the words ON / SUR words.

Many thanks
Mario










All times are GMT +1. The time now is 07:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com