To protect or limit the Excel spreadsheet, we can set a password to protect the Sheet. But when we password protect Sheet. We will not be able to Refresh Power Query. To do this we need VBA.
Using a macro to temporarily unprotect the sheet and protect it again will do the trick. But this requires the password being displayed in the VBA code. So please have in mind that this technique only works for scenarios where you want to prevent accidental changes with the password protection.




Comments
Hãy là người đầu tiên để lại ý kiến về bài viết này!
Để lại bình luận
Địa chỉ email của bạn sẽ được bảo mật.