E edwarric1 Registered User. Local time Today, 10:56 Joined Feb 17, 2009 Messages 10 Sep 4, 2009 #1 Hi, when I open a particular database I have to goto Window>Unhide! How can I do this in VBA?
N namliam The Mailman - AWF VIP Local time Today, 11:56 Joined Aug 11, 2003 Messages 11,685 Sep 4, 2009 #2 The database window?? - Change the startup option - press F11 If a form Forms("Formname").visible = true But you would have to auto run this upon DB open... which doesnt make sence, cause then you would have to hide it first to unhide it again
The database window?? - Change the startup option - press F11 If a form Forms("Formname").visible = true But you would have to auto run this upon DB open... which doesnt make sence, cause then you would have to hide it first to unhide it again
boblarson Smeghead Local time Today, 02:56 Joined Jan 12, 2001 Messages 32,040 Sep 4, 2009 #3 You can use DoCmd.RunCommand acCmdWindowUnhide if the database window is the only thing hidden.