Access Active window Maximize? [RESOLVED]
Hello all-
I have a macro in access that im running through vb. in the macro it maximizes a form that im opening but how would I maximize the active window? :confused: :confused: heres the code I have.....
VB Code:
Set moApp = New Access.Application
moApp.OpenCurrentDatabase App.Path & "\Andrade.mdb"
moApp.Visible = True
moApp.DoCmd.RunMacro "Boda", , ""
Thanks a million for any help!
Re: Access Active window Maximize?
Re: Access Active window Maximize?
Yeah I gave that a try and that didnt work?
Re: Access Active window Maximize?
Use these to max the application window and the second to max the mdi child window.
Note: the VBA Editor window requires a different method.
VB Code:
Application.RunCommand (acCmdAppMaximize)
Application.DoCmd.Maximize
Re: Access Active window Maximize?
Once again your the man Robdogg!!!!
Thanks for always giving that helping hand!!!!
You always give sample code and thats what makes it tons easier on us newbies and also makes it easier to learn and grasp more of what were doing....... So THANK YOU!!!!!!! :thumb: :thumb: :thumb: :thumb: :thumb: :thumb: :thumb: :thumb: :thumb: :thumb: :thumb: :thumb:
-Jose