Hi
I know how to protect workbook in vba using
workbooks(1).protect
workbooks(1).unprotect
What I want to do is to ask user this question:
do you want to protect workbooks? yes/no
If user say yes then I do
wrokbooks(1).protect
If user say no then I do
workbooks(1).unprotect
Any idea how...