XLS Object
 
Syntax
 
XLS.AppVisible = [BoolValue]
 
Description
This property turns the visibility of the active Excel session on or off. By default, when an Excel session is initialized using the AppInit function, the Excel application windows is not visible.
 
You can also read the state of the visibility with this property, as is shown in the example below.
 
 
Parameter
Description
BoolValue
Boolean. Sets the visibility of the active Excel session.
 
Constant
Value
Description
True
-1
Show the application window
False
0
Hide the application window
 
See Also
Example
 
Sub Main
 
Dim strName As String
 
   If Not XLS.AppInit() Then Exit Sub
 
   strName = XLS.AddWorkBook()
 
   XLS.AddWorkSheet "MijnBlad"
 
   XLS.AppVisible = True
 
   Debug.Print XLS.AppVisible   'True  
 
   XLS.CloseWorkBook
  
   XLS.AppClose
 
End Sub