Close Form Macro

Vernon

New member
Local time
Today, 10:20
Joined
Mar 2, 2012
Messages
2
I am a new Access user and have Access 2010. I have recently started working for myself and have created a Client/Work database using only the Access Wizards (I have no clue about modules etc) I have created an opening Welcome Form that opens via an autoexec macro. I wanted this form to close on timer and for another form to open. My problemis that whilst I have created a macro that on timer opens the new form, but I cannot find anywhere a CloseForm macro action. The nearest I have found is a RunMenuCommand action of "Close", but that doesn't seem to work. Any ideas?:confused:
 
Use the "CloseWindow:" action.
Enter "Form" for the object type and the actual name of your form as the value in the Object Name property. Select "No" for the Save property.
 
Thanks very much,it worked a treat. I should have looked further. I considered "Close Window" but assumed it closed the screen. Thick or what!!:)
 
Yeah, I agree. The "Close Window" can be a little deceiving. Glad it worked for you.
 

Users who are viewing this thread

Back
Top Bottom