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.

Quitar filtros en tablas que esten en diferentes hojas

publicado

Hola por favor me pueden ayudar con este tema de quitar filtros en tablas que se encuentran en difeentes holas entre a este foro y encontre un codigo que quita filtros en las hojas y no me funciona cuando con tablas

el codigo que esta es el siguiente

Sub quitar_filtros()
For Each Hoja In Array("SALARIOS", "EQUIPO", "MATERIAL1")
    If Sheets(Hoja).AutoFilterMode Then Sheets(Hoja).AutoFilterMode = 0
Next
End Sub

 

Featured Replies

publicado

Checa si esto te puede funcionar:

Sub Quita_filtros()
   Hoja1.ListObjects("Tabla1").ShowAutoFilterDropDown = False
    Hoja2.ListObjects("Tabla2").ShowAutoFilterDropDown = False
   Hoja3.ListObjects("Tabla3").ShowAutoFilterDropDown = False
End Sub

Ojo: el código que publicaste, esta referenciando a nombres de Hojas mas no a nombres de tablas

Saludos

Editado el por DiegoLG

publicado

Si hubieses subido tu archivo de ejemplo @leonardo contento fierro , se podría ayudar mejor y no tener que andar adivinando :(

Prueba con:

Sheets("tu nombre de hoja").Range("$A$2").AutoFilter Field:=1

Siendo "$A$2" la celda donde está la lista despegable filtrada

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.