Good evening Jean Cloutier
You should be able to run a macro in a protected sheet. The error will
be caused by attempting to filter items in a protected sheet.
If you are using Excel 2002 or higher, you can set the filter to run in
a protected sheet from the protection dialog.
If you are using XL2000 or prior, then look here to see how to handle
filters in a protected sheet:
http://www.contextures.com/xlautofilter03.html#Protect
HTH
DominicB
--
dominicb
------------------------------------------------------------------------
dominicb's Profile:
http://www.excelforum.com/member.php...o&userid=18932
View this thread:
http://www.excelforum.com/showthread...hreadid=487761