Macro to close reports

Lois

Registered User.
Local time
Today, 02:50
Joined
Jun 14, 2010
Messages
13
HI
is there a macro code i can use to close the 2 reports on the attached doc & return to the 'Home Page' Form?
 

Attachments

HI
is there a macro code i can use to close the 2 reports on the attached doc & return to the 'Home Page' Form?


Ive just had a quick look at your sample, you don't specify in the thread what you really need, but you can use code as follows:

docmd.closeObject frmName1
docmd.closeObject frmName2
docmd.openForm "Home Page"
 

Users who are viewing this thread

Back
Top Bottom