Having issues of users leaving excel workbooks that contain pivot tables linked to a db open, users are located all over the region so it is not as simple as walking around the office asking everyone to close out their files. I am trying to write a sub to copy and paste the newest version of my db over the old even while there are active connections, is there any way to force this? Currently my code is a simple
Obviously if a file pointing to this db is open it throws error 90. Is there any way to either
1) kill connections to the db or
2) force the paste anyway?
Thanks in advnace for any insight, havn't found answers anywhere!
Code:
FileCopy "S:\path\x.mdb", "S:\path2\x.mdb"
1) kill connections to the db or
2) force the paste anyway?
Thanks in advnace for any insight, havn't found answers anywhere!
Comment