The problem I'm havin is you can't set the second line to Dim dbs As Database in 2000.. It's not an option.. I converted this to 2000 and it gave me an error message which says "Object variable not defined" I then looked at the selection and database is not an option.. I have this code run...