Hi, I have attachments stored in Notes documents and have provided users with a “View Attachment” button that launches the attached file using the associated program, using “CreateObject”. The code has been working fine but now one user is getting the following error -
“Err 213:Word cannot open document. User does not have access privileges.”
He gets this on all documents he tries to launch using the button.
Here’s the code to launch -
Set word = CreateObject(“Word.Application”)
Call word.Documents.Open(filepath)
word.visible = True
word.Activate
Thanks.