B
brittonsm
I have made a document that I have changed the attributes to be
Read-Only as well as locking down the document with password protection
as a form. What I am trying to accomplish is having this document
opened by a user (or uploaded in our CAD software then opened) make
some changes and then save the file to a new location.
The probelm I am having is that on the Userform that load on start-up,
the user fills it out and hits OK, then it embeds a document and fills
out a bunch of fields on both the word file and embedded excel file.
Then it get to the line:
ActiveDocument.Save
I get the standard dialog box and create a new file, this file saves in
that location, but then I get a Run-Time Error '5155' saying the
ORIGINAL file is read-only and if I debug the code it takes me to the
ActiveDocument.Save line.
Help?
-Steve
Read-Only as well as locking down the document with password protection
as a form. What I am trying to accomplish is having this document
opened by a user (or uploaded in our CAD software then opened) make
some changes and then save the file to a new location.
The probelm I am having is that on the Userform that load on start-up,
the user fills it out and hits OK, then it embeds a document and fills
out a bunch of fields on both the word file and embedded excel file.
Then it get to the line:
ActiveDocument.Save
I get the standard dialog box and create a new file, this file saves in
that location, but then I get a Run-Time Error '5155' saying the
ORIGINAL file is read-only and if I debug the code it takes me to the
ActiveDocument.Save line.
Help?
-Steve