mustardxhead
Technical User
I have my Access database create a word document and add a series of tables and other text data to it. This works perfectly for the first run of the code. On the second run I get an error with a remote machine server is unavailable or busy. I have done some investigation on this and found that this is due to some sort of client/server connection between the applications and a direct reference to the word document helps to clear this issue and corrected it in some of my code. Other parts of the code I am not so sure how to do this. I am currious if there is some way to discover and assign the reference to a variable and close it manually as the code finishes execution due to the fact that Microsoft was not able to manage this when they made the applications.