Hi, I know how to protect/unprotect a sheet with code, but what is the code if you want to do it to a workbook?
Thanks,
Jeff
Hi, I know how to protect/unprotect a sheet with code, but what is the code if you want to do it to a workbook?
Thanks,
Jeff
Last edited by RevJeff; 02-17-2012 at 10:30 AM.
for example.![]()
Activeworkbook.protect password:="blah", structure:=true, windows:=true
Good luck.
Thank you!!!
Glad to help.
Please do not forget to mark the thread solved (see FAQ link at the top of the page for instructions).
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks