Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default User Form Show

With the generous help of Dave Peterson I created a small applet in
excel 2003, really it is a simple calculator used for a specific job,
nothing is saved or carried forward anywhere, and when I have the
numbers I need, I simply close the app until I need it the next time.

What I would like to know is if there is a way that I can show my user
form without excel showing on the screen in the background, maybe open
excel in a minimized state? To open excel in a minimized state ONLY when
I use this app, where would I put that code? I am going to create a
desktop shortcut to the app - would the code to open minimized go at the
end of the path in the properties of the shortcut? or do I need some
sort of autoexec.bat file somewhere to do this?
As you can tell, I am pretty new to Excel VBA, but I sure find it kind
of an interesting thing to puzzle out.
Thanks for your help
Joanne
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default User Form Show

Try this before you load your form:

Application.WindowState = xlMinimized


RBS




"Joanne" wrote in message
...
With the generous help of Dave Peterson I created a small applet in
excel 2003, really it is a simple calculator used for a specific job,
nothing is saved or carried forward anywhere, and when I have the
numbers I need, I simply close the app until I need it the next time.

What I would like to know is if there is a way that I can show my user
form without excel showing on the screen in the background, maybe open
excel in a minimized state? To open excel in a minimized state ONLY when
I use this app, where would I put that code? I am going to create a
desktop shortcut to the app - would the code to open minimized go at the
end of the path in the properties of the shortcut? or do I need some
sort of autoexec.bat file somewhere to do this?
As you can tell, I am pretty new to Excel VBA, but I sure find it kind
of an interesting thing to puzzle out.
Thanks for your help
Joanne


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default User Form Show

You could also hide excel:

Application.visible = false
'show the form
application.visible = true

But then the user would be looking at a different application (or the desktop).
And if the user had another workbook open and wanted to see that, it might be
disconcerting--well, depending on how you showed the userform.

Joanne wrote:

With the generous help of Dave Peterson I created a small applet in
excel 2003, really it is a simple calculator used for a specific job,
nothing is saved or carried forward anywhere, and when I have the
numbers I need, I simply close the app until I need it the next time.

What I would like to know is if there is a way that I can show my user
form without excel showing on the screen in the background, maybe open
excel in a minimized state? To open excel in a minimized state ONLY when
I use this app, where would I put that code? I am going to create a
desktop shortcut to the app - would the code to open minimized go at the
end of the path in the properties of the shortcut? or do I need some
sort of autoexec.bat file somewhere to do this?
As you can tell, I am pretty new to Excel VBA, but I sure find it kind
of an interesting thing to puzzle out.
Thanks for your help
Joanne


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default User Form Show

Thank you, I will give this a try asap
Might I ask another question?
I am wondering how I make my command button respond to the enter key
when it is active, so that I don't have to reach for the mouse to get
the calculation.
Your interest in my questions is very appreciated
Joanne

RB Smissaert wrote:

Try this before you load your form:

Application.WindowState = xlMinimized


RBS




"Joanne" wrote in message
...
With the generous help of Dave Peterson I created a small applet in
excel 2003, really it is a simple calculator used for a specific job,
nothing is saved or carried forward anywhere, and when I have the
numbers I need, I simply close the app until I need it the next time.

What I would like to know is if there is a way that I can show my user
form without excel showing on the screen in the background, maybe open
excel in a minimized state? To open excel in a minimized state ONLY when
I use this app, where would I put that code? I am going to create a
desktop shortcut to the app - would the code to open minimized go at the
end of the path in the properties of the shortcut? or do I need some
sort of autoexec.bat file somewhere to do this?
As you can tell, I am pretty new to Excel VBA, but I sure find it kind
of an interesting thing to puzzle out.
Thanks for your help
Joanne



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default User Form Show

how I make my command button respond to the enter key when it is active

When a commandbutton has the focus it should respond to the Enter key the
same as if it was clicked.
If that is not the case in your situation then I think you must have added
some code to prevent this.

RBS

"Joanne" wrote in message
...
Thank you, I will give this a try asap
Might I ask another question?
I am wondering how I make my command button respond to the enter key
when it is active, so that I don't have to reach for the mouse to get
the calculation.
Your interest in my questions is very appreciated
Joanne

RB Smissaert wrote:

Try this before you load your form:

Application.WindowState = xlMinimized


RBS




"Joanne" wrote in message
...
With the generous help of Dave Peterson I created a small applet in
excel 2003, really it is a simple calculator used for a specific job,
nothing is saved or carried forward anywhere, and when I have the
numbers I need, I simply close the app until I need it the next time.

What I would like to know is if there is a way that I can show my user
form without excel showing on the screen in the background, maybe open
excel in a minimized state? To open excel in a minimized state ONLY
when
I use this app, where would I put that code? I am going to create a
desktop shortcut to the app - would the code to open minimized go at
the
end of the path in the properties of the shortcut? or do I need some
sort of autoexec.bat file somewhere to do this?
As you can tell, I am pretty new to Excel VBA, but I sure find it kind
of an interesting thing to puzzle out.
Thanks for your help
Joanne




Reply
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
show user form Joanne Links and Linking in Excel 1 February 27th 08 07:52 AM
How to show User Form when form name is in string? Don Wiss Excel Programming 2 December 9th 06 03:52 AM
User form/ to show please wait Momo Excel Programming 10 February 7th 05 02:41 PM
Show user form PCOR Excel Programming 1 December 31st 03 12:15 AM
Only Show User Form Once cornishbloke[_8_] Excel Programming 4 December 29th 03 01:24 PM


All times are GMT +1. The time now is 07:26 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"