Hi again, thank you, I'll only be able to test your code tomorrow on a password-protected mdb. I hope I'm wrong but don't you think that since your latest code mimics your previous code:
strConnection = GetConnectionstring(strPath)
objConnection.Open strConnection
no error will be raised even when a password-protected mdb is encountered?