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.

Desocultar celdas

publicado

Hola, tengo un excel donde voy ingresando datos y automaticamente me ordena y me oculta las filas si el valor de la columna b=0, el problema que tengo es que no las desoculta cuando el valor es igual o mayor a 1. 

El código que tengo es el siguiente:

Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
If Range("c7").Value = "4 FRUTAS ES" Then
Rows("28").EntireRow.Hidden = False ' Si pone None desoculta
Else

Rows("28").EntireRow.Hidden = True

Copia de Septiembre 2016 (2).xls

Featured Replies

publicado
  • Autor

Perdón el codigo es el siguiente:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
 Dim c As Variant
 Application.ScreenUpdating = False
 With Worksheets("agosto")
 Set rng = Range(.Cells(1, "b"), .Cells(Rows.Count, "b").End(xlUp))
 End With
 For Each c In rng
 If c = "0" Then
 c.EntireRow.Hidden = True
 End If
 Next
 Application.ScreenUpdating = False
 End Sub
 

publicado

Hola

 

Tal vez a tu código le falte estas lineas :

 ElseIf c > 0 Then
    c.EntireRow.Hidden = False

Prueba y comentas.

 

Saludos.

  • 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.