As the word object is set to not be visible, this results in the code pausing for use input (Ordinarily choosing to Edit the document) but they can't see it to do so. My issue is that once the document is opened, the code needs to continue and edit the document but my code cannot do so as it opened in 'Protected view'. so when my code was cycling through all the docs in the directory, the code halted at this file since it had now 'Originated form the internet'. In a recent example, one of the files I tried to open with my code was added to the directory externally via an FTP (by me). Now, I know how to change the trust center settings, but I need my application to run on anyones machine and the users (my clientele) are not likely to know how to do it. The code is fine other than if there is one document in there that is considered as 'Originated from the Internet' then the code stops since Word will by default open it in Protected View (visibility is set to false deliberately). I have some code in VB.net that cycles through a directory of documents (.docx) and updates them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |