LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Only show userform after startup of app.

Arjan,
If you want the look/feel of a VB app, I'd go with Jim and say make a VB app
then.
If you need interaction with Excel, it is pretty straightforward with
Automation.
If the user does not need to see that Excel is running, hide your instance.
Otherwise, you can re-parent Excel to your app, to give a "contained" look.

NickHK

"Arjan" wrote in message
...
Jim,

Me again...
Do you have anyother suggestions to make it apear to be just like a vb

app?

Arjan Bregman
the Netherlands


"Jim Thomlinson" wrote:

The form is in the app so you cant't really have the form without the

app.
When you close the form you do not close the app. Rather the app is now
hidden. IMO hiding the app is a bad path to follow. There are just too

many
issues with doing this. A couple of the biggest a

1. The user opens another excel file which opens up in the hidden

instance
of Excel and they can't find it. So they try to open it again and it

says
that they can't. They get frustrated and start doing funky things like
opening a second instance of Excel. and try to open it in there and they

get
a read only copy...

2. Your form crashes and all of the open workbooks that they have are in

the
hidden instance of Excel that they can not get back...

What you are attempting to do is VERY problematic. I am not saying don't

do
it, just giving fair warning of some of the pitfalls... I personally

would
not follow this path.
--
HTH...

Jim Thomlinson


"Arjan" wrote:

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



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
userform startup splash screen carlito_1985[_9_] Excel Programming 4 September 22nd 05 09:03 AM
Userform does not show on startup over LAN - problems N E Body[_9_] Excel Programming 0 August 20th 04 02:14 PM
Userform does not always show on startup over LAN N E Body[_6_] Excel Programming 3 August 18th 04 12:18 PM
startup a userform Alvin Hansen[_2_] Excel Programming 2 August 15th 04 06:31 PM
Exel VBA- userform startup problem officemanager Excel Programming 2 July 20th 04 04:44 PM


All times are GMT +1. The time now is 02:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"