I have created the following code, and from my extensive googleing it should work however, every time I try to open the word doc it producres the error message informing me the document is locked for editing. I have cancelled out via the task manager and rerun the code and the message appears so it is something in the code that opens the doc that is trying to re-open it but I can't work out what is happening to do that.
Can anyone see the error of my ways and suggest an alternative or fix to this problem?
![]()
Please Login or Register to view this content.
Bookmarks