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.

Macro me da error 1004

publicado

Teno la siguiente macro pero me error 1004 por que puede ser.

La macro  es para cuando encuentre una X en las celdas  b9:b200 oculte las filas que contienen una X

 

Sub ocultarfilas_FRIO_NO_TALLER()
'
'
'
ActiveSheet.Unprotect

For Each celda In Range("b9:b200")
If celda.Value = x Then
ActiveCell.EntireRow.Hidden = TrueElse
ActiveCell.EntireRow.Hidden = False

End If
ActiveCell.Offset(1).Select
Next

ActiveSheet.Protect

End Sub

 

Featured Replies

publicado
Sub ocultarfilas_FRIO_NO_TALLER()

ActiveSheet.Unprotect

For Each celda In Range("B9:B200")
   If celda.Value = "x" Then
      celda.EntireRow.Hidden = True
   Else
      celda.EntireRow.Hidden = False
   End If
Next

ActiveSheet.Protect

End Sub

 

Macro no probada por carecer de archivo para ello.

 

.

publicado
  • Autor

ok Funciona muchas gracias

  • Silvia bloqueó este tema

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.