共用方式為


Application.LanguageSettings Property (Excel)

Returns the LanguageSettings object, which contains information about the language settings in Microsoft Excel. Read-only.

Syntax

expression .LanguageSettings

expression A variable that represents an Application object.

Example

This example returns the language identifier for the language you selected when you installed Microsoft Excel.

Set objLangSet = Application.LanguageSettings 
MsgBox objLangSet.LanguageID(msoLanguageIDInstall)

請參閱

概念

Application Object Members

Application Object