Dante Amor respondió:
En la macro tienes que desproteger la hoja con esta instrucción Activesheet. Unprotect 'En esta parte pones todo lo que hace tu código Activesheet. Protect Si la protegiste con password, entonces debe ser así Activesheet. Unprotect "clavepassword"...