in our department, we have to avoid some files to be read by someone who have not the right to reaf the information. If he copy this files to his U disk or D disk, but he do not have the right to read(we have all the PC's information, we have use VBA to let those who have the rights to read the files.
But for those illegal readers, we need to delete the files even they have change the file to read only. The following is VBA we use but could only dele the documents under relating path and files are not changed to read only.
Could somebody help me to amend this VBA to delete all the files under the open files same path or same disk. Thanks you in advance.
Or someone could give me a VBA code to forbide someone to copy the sheets or contents in the files open. Thanks.
Bookmarks