Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone,
Can anyone tell me if it is possible and how I could create a userform using code. My idea is that I use an inputbox to find out how many textboxes the user wants in their userform and then the userform is created. Any help would be appreciated. Thanks Trini |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It would be easier to create the userform manually and arrange the maximum
number of textboxes you would support. then, in reaction to the number entered by the user in the input box, make the number you want to use visible = True and the remainder visible = False in the Initialize Event of the userform. For your suggested approach, see John Walkenbach's sample code: http://j-walk.com/ss/excel/tips/tip76.htm Create a Userform Programmatically -- Regards, Tom Ogilvy "trini" wrote in message ... Hi everyone, Can anyone tell me if it is possible and how I could create a userform using code. My idea is that I use an inputbox to find out how many textboxes the user wants in their userform and then the userform is created. Any help would be appreciated. Thanks Trini |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a lookup in a userform | Excel Discussion (Misc queries) | |||
Creating Userform Controls on Frame | Excel Programming | |||
Creating Temporary Userform with checkboxes | Excel Programming | |||
Creating and controlling objects in a UserForm | Excel Programming | |||
Need help creating a userform with optionbuttons | Excel Programming |