Link to home
Start Free TrialLog in
Avatar of bill201
bill201

asked on

How to close an open Microsoft Access file with vba

hi

I want that when I open a form in ACCESS it's  will give me an option to closing the current file. Is there a possibility in vba to do this?










I want that in some cases when I open a form ACCESS platform that will give me a chance to closing the file. Is there a possibility in vba closing the current file
ASKER CERTIFIED SOLUTION
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bill201
bill201

ASKER

You understand what I mean, I wanted to close the current file in your code "docmd.quit" worked well many thanks
Avatar of bill201

ASKER

You understand what I mean, I wanted to close the current file in your code "docmd.quit" worked well many thanks