RAJESH1960
Banned for repeated rules violations
- Joined
- Mar 26, 2020
- Messages
- 2,313
- Office Version
- 2019
- Platform
- Windows
Hello code experts,
I have this code which runs correctly. But when I run the code after protecting the workbook it is showing the wrong results. I need your expertise to help me to edit the code.
In the Data sheet, I want to keep columns B2:G51 unhidden and unprotected. The rest of the rows and columns I want to hide. I also want to hide the Extract and Import sheets. The user has to just enter the data in columns B2: G51 only and get the xml generated. I also want the code to be protected in the VBA project Properties.
Password 123
Hide and protect sheet.xlsm
I have this code which runs correctly. But when I run the code after protecting the workbook it is showing the wrong results. I need your expertise to help me to edit the code.
In the Data sheet, I want to keep columns B2:G51 unhidden and unprotected. The rest of the rows and columns I want to hide. I also want to hide the Extract and Import sheets. The user has to just enter the data in columns B2: G51 only and get the xml generated. I also want the code to be protected in the VBA project Properties.
Password 123
Hide and protect sheet.xlsm