How do i set the form size using VBA?

xwnoob

Registered User.
Local time
Today, 10:25
Joined
Nov 7, 2011
Messages
70
I have this selection form whereby users will select a specific record and open another form based on that record. However, that form has a header that contents fields that i would always "hide" . So it results in this big empty space in the header. How do i set the form size of my HEADER using vba?(both width and height) so that i can hide this empty space.
 
Last edited:
If you're always hiding the controls in the section, why don't you just hide the section?
 
Because the user wants to see the header section of the form when in ADD mode...but does not want to see the header in EDIT mode .
 
Hide the section in Edit mode and unhide it when in Add mode.
 

Users who are viewing this thread

Back
Top Bottom