I have a Word document that is open and I want to close it with VBA code. I've been looking at the Close Method on MSDN and it says that:
Document.close SaveChanges:=wdDoNotSaveChanges
should do the trick, and it does, except when the file is read-only. Does anyone know the syntax for closing a read-only file without saving a new copy? Thanks!!
Document.close SaveChanges:=wdDoNotSaveChanges
should do the trick, and it does, except when the file is read-only. Does anyone know the syntax for closing a read-only file without saving a new copy? Thanks!!