Thanks S7
that works a treat and its the simplist bit of code to write (even if it is dirty).
i'll leave the zip feature for now as if a user can't zip a file then they should'nt be using a computer!
Once again many thanks
User Profile
Collapse
-
Compact/Delete an access 97 db using VBA
Hello all,
Im having an issue with compacting an access 97 database. I am currently runing the following code which works fine ONCE! However, when I run the code a second time I get an error because the file i wish to create and compact already exists. Is there a way to delete the file before creating & compacting? a bit like......
' *** START
' *** desired code here
' delete Acces db "C:\compacted_d b.mdb"...
No activity results to display
Show More
Leave a comment: