Hello All
This will save an excel document with a password. How can you also instruct the save to add encryption (e.g. RC4, Microsoft Enhanced Cryptographic Provider v1.0).
Easy, manually through Excel itself, but through VBA, how? I was hoping for something in the saveas method above, but no.
Any ideas?
Many Thanks
Code:
oExcelWSheet.SaveAs "C:\abc.xls", , "pass123"
This will save an excel document with a password. How can you also instruct the save to add encryption (e.g. RC4, Microsoft Enhanced Cryptographic Provider v1.0).
Easy, manually through Excel itself, but through VBA, how? I was hoping for something in the saveas method above, but no.
Any ideas?
Many Thanks