RunQSheets()

Validates and runs all q-sheets in the active workbook.

Syntax

Public Function RunQSheets(Optional Quiet As Boolean, _ 
                           Optional ByRef Msg As String) As Integer

Input

ValueDescription
 Quiet(optional) If True, will not prompt user or display interactive error messages.

Output

ValueDescription
 Msg(optional variable passed by reference for output only) Is assigned status message.

Return value

ValueDescription
 0success
 1failure
 -1fatal error (further query attempts are likely to fail)