Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am developing an application in Excel and need to allow for multiple screen
sizes. I have been referred to an article by Tom Ogilvy back in 2004 that describes how to determine the screen resolution and from their differing User Forms based on that screen resolution can be shown. I have a number of routines that validate and initilise the data in the form that will basically be duplicated unless I can find a way to use a parameter for the Form name.... For example....instead of the code below explicity referring to the VendorEntry_1280x1024 form I want to be able to use a variable that is passed into the routine for all screen resolutions.....is that possible ? The error that is returned when I try and use a variable is..."compile error: invalid qualifer" Public Sub RefreshVendorDataEntry_1280x1024() 'Routine only used to refresh the values in the list box 'Remove any selection within the List Box VendorEntry_1280x1024.VendorDataListBox.ListIndex = -1 VendorEntry_1280x1024.VendorSalesStaffMember.ListI ndex = -1 Any help appreciated |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to reference variable worksheets and variable row | Excel Programming | |||
Pass variable from form to form to form | Excel Programming | |||
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable | Excel Worksheet Functions | |||
Variable Reference to a Form Control | Excel Programming | |||
Is it possible to open the VBA form with a link in a sheet and to pass variable from a cell to the VBA form? | Excel Programming |