You will most certainly need to use the command line options for starting your DB. However, depending on what your macro does, you may need to create a special macro or VBA function that will include closing your DB when the actions you are wanting to be completed have been completed and call this special macro rather that the one you designed for use while in the application.