Article ID: 157555
Article Last Modified on 11/23/2006
Sub UserControlStaysFalse()
Set xlApp = CreateObject("Excel.Application.8")
xlApp.Visible = True
MsgBox "This is Microsoft Excel 97, 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 97, build " & xlApp.Build
xlApp.UserControl = True
Set xlApp = Nothing
End Sub
xlApp.Visible = True
xlApp.UserControl = True
If you do not do this, you will be left with an invisible instance of
Microsoft Excel. You can shut down an invisible instance of Microsoft
Excel by pressing CTRL+ALT+DELETE, selecting "Excel" in the list of
tasks/programs, and clicking Shut Down.
Additional query words: XL97 8.0 vbe
Keywords: kbdtacode kbprogramming KB157555