VBASTMT (Command)

Executes a VBA statement at the AutoCAD Command prompt.

Note: Microsoft® Visual Basic® for Applications software (VBA) is no longer installed. For more information, visit https://www.autodesk.com/vba-download.

A Visual Basic statement is a complete instruction that can contain keywords, operators, variables, constants, and expressions. A statement generally occupies a single line, although you can use a colon (:) to include more than one statement on a line.

VBA statements are executed in the context of the current drawing.