GMC The Macro Man
Board Regular
- Joined
- Mar 23, 2023
- Messages
- 104
- Office Version
- 2021
- Platform
- Windows
Hi Guys, I'm looking for some help here
I have a large Data Table with some of the columns LOCKED to protect the formulas in them. The worksheet is also protected so the users cannot "screw up" the formulas.
The issue i have is when the users add new data to the bottom rows, they cannot DATA SORT it as the sheet is protected .
I have read through this forum and many youtube sites and it seems you cannot DATA SORT on a protected sheet so a MACRO is needed.
I created a MACRO to
1. Un-protect the worksheet with the password
2. Run the DATA SORT
3. Protect the sheet with the password.
The issue here is when I run it, i get a pop up to input the password. Is it possible to embed the password in to the macro? Also, I would need the password to be hidden from the users. Is that possible too?
Many Thanks
GMC
I have a large Data Table with some of the columns LOCKED to protect the formulas in them. The worksheet is also protected so the users cannot "screw up" the formulas.
The issue i have is when the users add new data to the bottom rows, they cannot DATA SORT it as the sheet is protected .
I have read through this forum and many youtube sites and it seems you cannot DATA SORT on a protected sheet so a MACRO is needed.
I created a MACRO to
1. Un-protect the worksheet with the password
2. Run the DATA SORT
3. Protect the sheet with the password.
The issue here is when I run it, i get a pop up to input the password. Is it possible to embed the password in to the macro? Also, I would need the password to be hidden from the users. Is that possible too?
Many Thanks
GMC