From: JeffJ on
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?
From: JeffJ on
Still think it is a bug but added:

ActiveDocument.Close

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

to end of macro to decrypt doc.

"JeffJ" wrote:

> 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?