Problemas al bloquear el libro

rguez

Board Regular
Joined
Jul 24, 2002
Messages
78
Hola

¡Estoy en pánico! :eek:

Tengo una serie de macros que se dedican a ocultar y mostrar pestañas.
Utilizo la propiedad *.Visible

Todo funciona de lujo o_O

-PERO- cuando protejo el libro y corro la macro me indica que la propiedad no está disponible en el objeto.

¿qué pasa?

Atte: desesperado :oops:


(Office XP)
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Pues sí... cuando se protege el libro no se pueden ocultar / mostrar hojas... esa es una de las protecciones del libro... lo que se puede hacer es desproteger y proteger en el código

ActiveWorkbook.Protect

ActiveWorkbook.Unprotect
 
Upvote 0
OK, es una solución posible....

Pero no me opera el comando

ActiveWorkbook.Protect("clave",true,false)

Gracias Juan Pablo :confused:
 
Upvote 0

Forum statistics

Threads
1,216,163
Messages
6,129,223
Members
449,495
Latest member
janzablox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top