Gasman
Enthusiastic Amateur
- Local time
- Today, 22:24
- Joined
- Sep 21, 2011
- Messages
- 16,552
Hi all,
Spotted this link in another forum and thought it might be useful to some.
This is basic, you need to amend it to make it more useful, but the logic applies.
What is strange is that I managed to comvert an accdb back to mdb, just as a test, but it opened fine?
Code is in the logic of my last test, accdb to mdb. Just reverse the string variables and choose the correct format. That even goes back to Access2 ?
Edit: Sorry, I should have mentioned, link was posted by @bastanu
Spotted this link in another forum and thought it might be useful to some.
This is basic, you need to amend it to make it more useful, but the logic applies.
What is strange is that I managed to comvert an accdb back to mdb, just as a test, but it opened fine?
Code is in the logic of my last test, accdb to mdb. Just reverse the string variables and choose the correct format. That even goes back to Access2 ?
Code:
Sub ConvertToACCDB()
Dim src As String
Dim dst As String
dst = "F:\Users\Paul\Documents\bibbys-converted.mdb"
src = "F:\Temp\bibbys-Temp1.accdb"
ConvertAccessProject src, dst, AcFileFormat.acFileFormatAccess2000
End Sub
Edit: Sorry, I should have mentioned, link was posted by @bastanu

Last edited: