Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel 2000 VBA form questions

I am making a form in Excel 2000 which when double clicking the file will
automatically come up. Because of the different size monitors/LCDs I have
run into a few questions.

1.) is there a way to automatically adjust the form to fit the screen; or
2.) how do you put the scrolls in so people with smaller monitors can use
the form.
3.) also, since the plain Excel workbook is not being used, is there a way
to minimize it when the form is brought up?

Doobage
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default Excel 2000 VBA form questions

You can do a few things.

1.) You can adjust the Zoom Property of the Userform in the Properties
Window.

2.) You can set the Scroll Bars Property of the Userform in the Properties
Window equal to 3- fmScrollBarsBoth. This will give the users an ability to
scroll up & down and left & right.

3.) Assuming the Workbook you are talking about is the ActiveWindow you can
use this. This will minimize the ActiveWindow.

ActiveWindow.WindowState = xlMinimized

Hope this helps! If so, let me know and click "YES" below.
--
Cheers,
Ryan


"Doobage20" wrote:

I am making a form in Excel 2000 which when double clicking the file will
automatically come up. Because of the different size monitors/LCDs I have
run into a few questions.

1.) is there a way to automatically adjust the form to fit the screen; or
2.) how do you put the scrolls in so people with smaller monitors can use
the form.
3.) also, since the plain Excel workbook is not being used, is there a way
to minimize it when the form is brought up?

Doobage

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel 2000 VBA form questions

Open 1 will work but it will make the form window smaller for all users
instead of making the form smaller for users with monitors/LCD that are 14/15
inches. Would there be a command to auto adjust the form size?

On option 2 I had them set to 3- fmScrollBarsBoth on the ScrollBars and the
KeepScrollBarsVisible. But I do not get the 'slider' on smaller monitors. I
made the ScrollHeight = 100 and the ScrollWidth = 100 but could not change
the ScrollLeft and ScrollTop from 0.

On option 3 I was able to minimize all open books. Is there a was to
minimize all of Excel except the form? I don't think so but I thought I
would ask.

Doobage

"RyanH" wrote:

You can do a few things.

1.) You can adjust the Zoom Property of the Userform in the Properties
Window.

2.) You can set the Scroll Bars Property of the Userform in the Properties
Window equal to 3- fmScrollBarsBoth. This will give the users an ability to
scroll up & down and left & right.

3.) Assuming the Workbook you are talking about is the ActiveWindow you can
use this. This will minimize the ActiveWindow.

ActiveWindow.WindowState = xlMinimized

Hope this helps! If so, let me know and click "YES" below.
--
Cheers,
Ryan


"Doobage20" wrote:

I am making a form in Excel 2000 which when double clicking the file will
automatically come up. Because of the different size monitors/LCDs I have
run into a few questions.

1.) is there a way to automatically adjust the form to fit the screen; or
2.) how do you put the scrolls in so people with smaller monitors can use
the form.
3.) also, since the plain Excel workbook is not being used, is there a way
to minimize it when the form is brought up?

Doobage

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
Excel 2000 questions Heather C[_2_] Excel Discussion (Misc queries) 1 April 25th 08 02:57 PM
Form Tab to text fields Excel 2000 ~KO Excel Programming 1 March 2nd 06 04:25 PM
2 questions related to Excel under Windows 98/2000 Gaston AGON Excel Programming 2 April 7th 04 11:01 AM
Excel 2000: maximise a sizeable form? Philippe Oget Excel Programming 1 December 12th 03 07:25 PM
Excel 2000 VBA Form Combobox value Matt. Excel Programming 2 July 25th 03 06:37 PM


All times are GMT +1. The time now is 03:03 PM.

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"