locked
Get the Excel language using vbscript RRS feed

  • Question

  • Hello everybody,

    I am writing a vbscript. I want to know which is the current language of Microsoft Office (Excel).

    I am using the following command :

    //////////////////////////////////////////////////////////

    Set XL = GetObject(, "Excel.Application")

    toto=XL.International(xlCountryCode)

    /////////////////////////////////////////////////////////

    but I receive the error message :

    /////////////////////////////////////////////////////////

    Error: Unable to get the International property of the Application class

    ////////////////////////////////////////////////

    I don't understand where is the problem. If you have any idea, i ll be glad to try.

    Thanks you

    • Moved by Mike Feng Tuesday, April 2, 2013 8:40 AM
    Wednesday, March 27, 2013 10:13 AM

All replies