A utility creates a password protected Word document using SaveAs.
Here is the line I have:
However Word doesn't seem to recognise that I am passing it a password and it pops up, the button on the taskbar is constantly flashing and the routine fails.
I guess I could delete the file first, but is there a way of doing this with Automation?
Thanks,
Stewart
Here is the line I have:
Code:
.SaveAs([I:\NewFred\Statistics\HouseKeeping.doc], _wdFormatDocument, .T., [ex0du5]))
I guess I could delete the file first, but is there a way of doing this with Automation?
Thanks,
Stewart