When a word file is used by another user, I want to open it readOnly, but how can I hide the dialog of "File is using!" by the default mode of "ReadOnly"?
The following is the source code:
wordApp.displayAlerts = wdAlertsNone
Set WorkDoc = WordApp.Documents.Open(fileName...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.