Hello everybody,
I am working with Forms. When I press a button Excel shall start. But in the same moment it dissapears.
My Code:
Dim ExcApp As Object
Privat Sub Button1_Click()
Set ExcApp = CreateObject("Excel.Application"
ExcApp.Visible = True
End Sub
How can I achieve, that the Application does not disappear as long as the user does not quit it and the form is active.
cu, Stony
I am working with Forms. When I press a button Excel shall start. But in the same moment it dissapears.
My Code:
Dim ExcApp As Object
Privat Sub Button1_Click()
Set ExcApp = CreateObject("Excel.Application"
ExcApp.Visible = True
End Sub
How can I achieve, that the Application does not disappear as long as the user does not quit it and the form is active.
cu, Stony