ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How can I sort a protected page (https://www.excelbanter.com/excel-programming/326819-how-can-i-sort-protected-page.html)

AK 47

How can I sort a protected page
 
I have a aggregate scoring page that has programming for calculations embeded
within
As i do not want the programming to be altered in any way i have protected
the page but this stops the users from sorting the page after they have
entered all the scores
How can i overcome this

Jean-Yves[_2_]

How can I sort a protected page
 
Hi,

You can add a custom button with a sorting macro attached to it.
On workbook_open event, I use :
Sheet1.Protect Password:=PW, userinterfaceonly:=True
"userinterfaceonly" means that a macro CAN modified a protected worksheet,
so the sorting macro will work.
Regards
JY

"AK 47" <AK wrote in message
...
I have a aggregate scoring page that has programming for calculations

embeded
within
As i do not want the programming to be altered in any way i have protected
the page but this stops the users from sorting the page after they have
entered all the scores
How can i overcome this





All times are GMT +1. The time now is 08:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com