LauraEFord
New Member
- Joined
- May 13, 2014
- Messages
- 5
How do you turn off the the protection on workbook in a Macro? Using Outlook 2013
I have a macro that after I lput in my passwork and run the macro, it takes the protected file, removes links, removed data, and saves a stripped down version of the data. My issues is when the other users get the file, the password is still needed. Below is the code of I have come up with using excel and Mr. Excel msg board. Can someone tell me the proper syntex?
'unprotect sheet
ActiveWorkbook.Unprotect Password:="prodexecdoc"
Thank you
I have a macro that after I lput in my passwork and run the macro, it takes the protected file, removes links, removed data, and saves a stripped down version of the data. My issues is when the other users get the file, the password is still needed. Below is the code of I have come up with using excel and Mr. Excel msg board. Can someone tell me the proper syntex?
'unprotect sheet
ActiveWorkbook.Unprotect Password:="prodexecdoc"
Thank you