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.
| |||||||||||||
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
| |||||||||||||