PROTEGER HOJA CON SUBTOTALES

16/11/2007 - 03:42 por PIBEX | Informe spam
HOLA ...
ALGUIEN ME PUEDE APOYAR, EN UNA HOJA COLOQUE SUBTOTALES EL DETALLE ES QUE AL
QUERER PROTEGERLA NO ME DEJA MOVER LAS CASILLA DE + PARA MOSTRAR SE
PUEDE PROTEGER CON ESTA OPCION???
SALUDOS Y DE ANTE MANO GRACIAS

Preguntas similare

Leer las respuestas

#1 Tux
16/11/2007 - 19:39 | Informe spam
Hola :-)

HOLA ...
ALGUIEN ME PUEDE APOYAR, EN UNA HOJA COLOQUE SUBTOTALES EL DETALLE ES QUE AL
QUERER PROTEGERLA NO ME DEJA MOVER LAS CASILLA DE + PARA MOSTRAR SE
PUEDE PROTEGER CON ESTA OPCION???
SALUDOS Y DE ANTE MANO GRACIAS



No escribas en mayuscula que no se entiende nada y prueba el siguiente
codigo » cortesia de hector miguel »

'[]

Sub test1()

With Worksheets("Hoja1")
.Protect Password:="123", UserInterfaceOnly:=True
.EnableOutlining = True
End With

End Sub
'[]


o tambien podrias utilizar el siguiente si le añadimos al codigo la
siguiente linea:

'[]

Sub test2()

With Worksheets("Hoja1")
.Protect Password:="123", UserInterfaceOnly:=True
.EnableOutlining = True
.Outline.ShowLevels RowLevels:=3

End With

End Sub

O tambien podriamos hacer lo siguiente:

'[]

Sub test3()

With Sheets("hoja1")
.Unprotect
.EnableOutlining = True
.Protect Contents:=True, UserInterfaceOnly:=True
.Outline.ShowLevels RowLevels:=3

End With

End Sub


'[]

Comentanos ok? :-)

Saludos
Monica




Estado: A la Espera By Fermu

Tic-Tac-Tic-Tac...

» Now We are free [Enya]
» United states of love [ Westbam and the love commitee ]

www.fermu.com
email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida