mrtauntaun
MIS
Hi all. I have a long macro (running from excel) that runs every night running a variety of reports out of an access database for me. The last thing I want the database to do is to compact. I know there is a command line you can use with the /compact option, but I can't figure out how to run that from vba. Is that the best way to do it? Is there an alternative?
I know about the option to have the database compact when it closes, but to save a long winded explanation, it doesn't work the way I need it to. I need the last line of code in the vba macro to compact the db.
Any help appreciated, thannks!
I know about the option to have the database compact when it closes, but to save a long winded explanation, it doesn't work the way I need it to. I need the last line of code in the vba macro to compact the db.
Any help appreciated, thannks!