Right now I have a button that refreshes multiple queries over multiple worksheets in the same workbook. These worksheets are all protected and my macro will not update those queries due to the protection.
I added a two additional buttons to unprotect all sheets and protect all sheets.
Can I add those two modules into my original so when I click the original button it would unprotect all sheets, run my VBA, then reprotect all the sheets?
I added a two additional buttons to unprotect all sheets and protect all sheets.
Can I add those two modules into my original so when I click the original button it would unprotect all sheets, run my VBA, then reprotect all the sheets?