I want to update my database and refresh a pivot table within my workbook and protect their worksheets while this function is being performed. I know there's a way to Unprotecting/Protecting worksheets while attempting to update/refresh the worksheets but my attempts haven't worked. I want to protect the following worksheets- "OvertimeTotals" and "OvertimeDatabase". The worksheets are refereshed and updated through the "Add Overtime" button on the userform "Overtime Form". Any assistance would be appreciated.
Charlie