Click or drag to resize

IBasicNoUIRunThis Method

Runs macro code.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
bool RunThis(
	string code
)

Parameters

code  String
Execute this code.

Return Value

Boolean
True if successful.
Remarks
RunThis executes a single line of code as if it were one line inside a Sub Main/End Sub block. To run more than one line of code you must explicitly include the Sub Main/End Sub block in the code.

The currently executing macro is suspended until this code completes. Syntax or run-time errors trigger the ErrorAlert event.

See Also