maxinmising forms

M

mick.whyte

Hi

Is there an equivalent method in VBA of the .windowstate method in VB.
Can't seem to find a property or method that will automaximise hence
locking the form.

Thanks

Mick
 
S

SusanV

in the on open event docmd.maximize. If you don't want users to be able to
restore or minimize, hide the control box via form properties.
 
D

dchman

similar question, so i thought i'd ask. I have module that creates a form at
runtime, adds some controls and code, then closes the new form (which is
later opened through user-interation). When the module runs, the VBA code
window opens in a maximized state, and stays that way. I have been trying to
find out how to either minimize or close the code window when the process
that creates the new form finishes, but haven't figured it out yet. Any
ideas?

thanks
 
Top