I have a folder full of 100-odd Access97 files. I need to update them all to Access2003.
I could do it manually, but using VBA would probably be a lot faster.
Does anyone that would have a snippet that would do this? Or an alternative suggestion?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
DBEngine.CompactDatabase olddb, newdb,, dbVersion40
should work.
Note that you will want to check your references after words and do some cleanup. I used the following code in one my systems that I was working with in A97 and making an A2000 and A2002 MDB. The idea being that the conversion added a few references that I wanted to get rid of programmatically so I never had to worry about them. You’ll probably want to log the output to a .txt file named the same as the MDB and check things as you go along.