Thanks Bob. I found if all references were in the db, then the earlier code went through, however if I removed the DAO reference, then the module code would not run, and the macro halted.
What I am going to do is first check the users PC for library paths, and when I find those then will then hardcode them in. I thought then running this action each time would ensure they were always there. I wondered what side effect there may be running it each time. Regards