This is exactly what I want to do but I'm getting an error message : "Run-time error 432. File name or class name not found during Automation operation"
Hmmm, I don't know. What version of Access are you using?
This code works fine for me in Access 97, but it's possible (ok, probable) that they have changed the language for Access 2000 and up.
Look up the Application keyword in Access help and see what they list. If they got rid of it, perhaps it will tell you what they replaced it with. Maq
<insert witty signature here>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.