Hide Excel but show the Userfom ???

S

Stift

Hi, I've created a VBA-userform from where users can insert values int
an Excel-sheet.
Now the user only uses the Userform but see's in the background th
database.

Is it possible to Hide the whole Excel-file and only show th
Userform? :confused:


GreetZ from Stif
 
C

Chip Pearson

Try code like

Application.Visible = False
UserForm1.Show

Be sure to make Excel visible when you close the form:

Application.Visible = True


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
H

Harald Staff

It might. What I was trying to say was that it's very common to have at
least two jobs open at the same time in Excel, she's built for that, and
some of us really hate files that hijack the whole application, or worse,
the whole computer.

Best wishes Harald
 
Top