Script.Language Property
Sets or gets the scripting language of the active script. Read/write.
Syntax
Language
A variable that represents a Script object.
Return Value
MsoScriptLanguage
Remarks
The MsoScriptLanguage constants used with the Language property are also used in theparameter in the Addmethod of the Scriptscollection.
Example
This example checks the Language property to ensure that the first script in worksheet one in the active workbook is written in VBScript.
| Visual Basic for Applications |
|---|
|
| Language |