is it possible to change the width and height of an active subform?

  • Thread starter A.J.M. van Rijthoven
  • Start date
A

A.J.M. van Rijthoven

When I try it in VBA, I get a runtime error....
Perhaps there is another way to do it...???
 
R

Rick Brandt

A.J.M. van Rijthoven said:
When I try it in VBA, I get a runtime error....
Perhaps there is another way to do it...???

What is your code? If you are trying to increase the width and height beyond
what will fit on the form then you have to make that section of the form bigger
before you increase the size of the subform control.

If it is not the subform *control*, but the dimensions of the form being
referenced by the subform control, then I can't say for sure if that is possible
as I've never tried to do it. The only time I have resized a subform control
was when the form within was continuous so I just wanted to display more (or
fewer) rows. For that all you need to do is resize the subform control.
 
Top