Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bloquear/desbloquear celdas con condición

Featured Replies

publicado
  • Autor

Hola a todos

Bueno no he tenido respuesta alguna, se que estan muy ocupados así que toco idearmelas y di solucuión a mi problen dejo el código por si a alguien se le ofrece. Tal y como esta incluida la preposición ('), si no la aplíco me da error.

Podríamos dar tema cerrado

Saludos

Fernando

Private Sub Worksheet_Change(ByVal Target As Range) 
Rango a evaluar
If Intersect(Target, Range("F3:K3")) Is Nothing Then
Exit Sub
Else
'If Target.Value <> "" Then (sin apostrofe me da error)
Target.Select
ActiveSheet.Unprotect ""
Selection.Locked = True
Celda Condicionadora
If UCase(Range("L" & Target.Row).Value) = "REGISTRO NO EXISTE" Then
Celdas a desbloquear
Range("F3:K3").Select
Selection.Locked = False
Else
Celdas a bloquear
Range("F3:K3").Select
Selection.Locked = True
End If
End If[/CODE]

  • 2 weeks later...
publicado
  • Autor

Hola @[uSER=1]Sergio[/uSER], solo por reconfirmar que este tema esta solucionado. Mil gracias

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.