Share via


Script.ScriptText Property

Returns or sets the text contained in a block of script.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Default Property ScriptText As String
    Get
    Set
'Usage
Dim instance As Script
Dim value As String

value = instance

instance = value
string this { get; set; }

Property Value

Type: System.String

Remarks

The Microsoft Office host application doesn’t check the syntax of the script. The ScriptText property is the default property for the Script object.

See Also

Reference

Script Interface

Script Members

Microsoft.Office.Core Namespace