Hi,
I have been looking every where and I cannot find this.
I need to create through code a subform on a main form. We have a main form that has textboxes that get populated with data on the top of the form and on the bottom of the form they want to be able to hit button and bring in any one of some 50 - 60 subforms that we have. I cannot put them all on this one form and make them visible and invisible because 10 it would be a mess to have all that and 2) they would all load and really slow down the system; they have this in a tab form and because it all loads at once it is really solw.
So I am looking for how to create a subform an a with VBA code.
Thank you
I have been looking every where and I cannot find this.
I need to create through code a subform on a main form. We have a main form that has textboxes that get populated with data on the top of the form and on the bottom of the form they want to be able to hit button and bring in any one of some 50 - 60 subforms that we have. I cannot put them all on this one form and make them visible and invisible because 10 it would be a mess to have all that and 2) they would all load and really slow down the system; they have this in a tab form and because it all loads at once it is really solw.
So I am looking for how to create a subform an a with VBA code.
Thank you