Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default UserForm Window size setting

Is there a way with a UserForm to set the size dynamically on a users PC so
that the UserForm will take the full screen apart from the Windows related
Start tab ?

thanks
Scott
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default UserForm Window size setting

Hi Scott

you could try checking out the solution to this sort of problem posted
by Tom Ogilvy back in 2004 it is a very good approach to sort of
problem as some of the other methods i tried before coming across
Tom's post can lead to having to add a ton of code to move and resize
your controls which depending on how much you have on your form can be
a real pain in the a$$

http://groups.google.co.uk/group/mic...0e257060e8cb82

hope this helps you out

Steve

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default UserForm Window size setting

Steve,

Thanks for that...I used that approach which allows for the screen
resolution to be determined and then a different form shown.

But the only way I could get it to work was to have a separate form and also
separate procedures for validation of the form for each screen resolution. Is
there anyway to parameterise a form name so that when calling a particular
form based on the screen resolution a different collection is used....

at the moment I have things like.....

VendorEntry_1280x1024.VendorFirstName =
VendorEntry_1280x1024.VendorDataListBox.List(i, 0)
VendorEntry_1280x1024.VendorLastName =
VendorEntry_1280x1024.VendorDataListBox.List(i, 1)
VendorEntry_1280x1024.VendorSalePropertyAddress =
VendorEntry_1280x1024.VendorDataListBox.List(i, 2)

Where the form has been set to the resolution.....is there a way to call a
particular routine based on a different form ?

SCott

"Incidental" wrote:

Hi Scott

you could try checking out the solution to this sort of problem posted
by Tom Ogilvy back in 2004 it is a very good approach to sort of
problem as some of the other methods i tried before coming across
Tom's post can lead to having to add a ton of code to move and resize
your controls which depending on how much you have on your form can be
a real pain in the a$$

http://groups.google.co.uk/group/mic...0e257060e8cb82

hope this helps you out

Steve


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
Setting the zoom size of a new window from 100% to 75% MongoMan Excel Discussion (Misc queries) 0 June 18th 08 11:30 PM
Window setting Amp Setting up and Configuration of Excel 1 June 13th 08 09:45 PM
how to save a desired window size but hv window comeup fullsz by d smjm1982 Excel Discussion (Misc queries) 1 February 15th 08 11:10 AM
Duplicated code window and userform window problem Zhu Excel Programming 3 November 8th 06 05:09 AM
What is the setting to have more than one Excel Window? Jason W. Dove Setting up and Configuration of Excel 1 April 20th 05 10:56 PM


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

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

About Us

"It's about Microsoft Excel"