Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Stop Statement

Stops the execution of the Basic program.

Syntax:

Stop Statement diagram


Stop

Example:


Sub ExampleStop
Dim iVar As Single
    iVar = 36
    Stop
    MsgBox Sqr(iVar)
End Sub