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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
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,215,695
Messages
6,126,263
Members
449,307
Latest member
Andile

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