View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default 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