Article ID: 183472
Article Last Modified on 6/17/2005
Sub UserControlStaysFalse()
Set xlApp = CreateObject("Excel.Application.8")
xlApp.Visible = True
MsgBox "This is Microsoft Excel 98, build " & xlApp.Build
xlApp.Quit
Set xlApp = Nothing
End Sub
Sub UserControlSetToTrue()
Set xlApp = CreateObject("Excel.Application.8")
xlApp.Visible = True
MsgBox "This is Microsoft Excel 98, build " & xlApp.Build
xlApp.UserControl = True
Set xlApp = Nothing
End Sub
xlApp.Visible = True
xlApp.UserControl = True
If you do not do this, an invisible instance of Microsoft Excel is left
running.
Additional query words: XL97 8.0 vbe
Keywords: kbprogramming kbprb KB183472