View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Arjan Arjan is offline
external usenet poster
 
Posts: 29
Default Only show userform after startup of app.

Hi all,

I want my userform the only thing to show after I started my excel file..

I use this code..

Private Sub Workbook_Open()
Application.Visible = False
StartForm.Show
End Sub

Some how there is an error because in the back I can still see a window with
my excel file. however, when I close my userform the window with my excel
file is instantly closed...

What am I doing wrong???

Thnx in advance..

Arjan Bregman
the Netherlands