Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array of user forms in excel ?

Status
Not open for further replies.

shep6

Programmer
May 4, 2001
38
GB
Is it possible to create an array of user forms in excel vba, like you can do in Viusal Basic?

I have a spreadsheet which contains 175 questions, these are to be split onto approx 20 user forms. I'm fine with creating 20 forms up front, but if the end user chooses to add, say, another 10 questions then these will need to be stored on another form.

As each of the forms are identical in layout, ideally I would like to create an array of forms based on how many questions there are.

thanks
 
This sounds like the right kind of problem for on-the-fly generation of userforms, rather than using pre-canned userforms. Not something I've had much experience with, mind you - but you can have just a single userform in the project, and add/change controls to the userform, etc, all using code. Might that work for you? We can help if you need some direction.


Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top