Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Working with Forms, Application dissapears!!

Status
Not open for further replies.

webstony

Technical User
Jan 29, 2001
19
DE
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
 
Consider this:

Sub openexcelman()
Dim x1 As Object
Set x1 = CreateObject("Excel.Application")
x1.Visible = True
End Sub


If this doesn't work email or if you want to talk email me at drat@mediaone.net
:)
Ratman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top