ActiveDocument.SaveAs with EFS

J

JeffJ

If I have a document that has encryption turned on.
When I do file - save as: if I save to a directory that doesn't have
encryption turned on the directory it saves it without encrypting - Desired
effect.

When I use ActiveDocument.SaveAs it makes an encrypted file copying the
state of the original file.
Even if I put desktop.ini with
[Encryption]
Disable=1
in the directory
it ignores that too and still encrpts fle.

Issue is from opening word attachment in email after EFS assistant has
encrypted many directories and running a macro to save to a directory with
specifitc name for a purchased system.

So ActiveDocument.SaveAs doesn't work the same as File - Save As.

This seams to be a bug in regards to word interaction with encrypted file
system.

Is there a work around anyone knows?
 
J

JeffJ

Still think it is a bug but added:

ActiveDocument.Close

jnk = Shell("cipher /d " & TmpName & ".doc", 0)

to end of macro to decrypt doc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top