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 Filtra por rango de Fechas

publicado

Hola a todos

Encontré está macro en Internet, la cual me pareció que me podía funcionar, pero, quizás yo esté haciendo algo mal. Explico lo que necesito:

Requiero que a través de este formulario me permita filtrar las celdas que contenga los días que señale, por ejemplo:

Filtrar la información del 23/06/2016 al 01/07/2016 y que solamente me muestre la información con este filtro de fechas.

Anexo un ejemplo que diseñe.

 

Espero que me puedan apoyar.

Prueba Fechas.xlsm

Featured Replies

publicado

 

'Una opción
Private Sub CommandButton1_Click()
Sheet1.Range("A1").AutoFilter _
                   Field:=7, _
                   Criteria1:=">=" & CDbl(CDate(TextBox1)), _
                   Operator:=xlAnd, _
                   Criteria2:="<=" & CDbl(CDate(TextBox2))
End Sub

'Otra opción
Private Sub CommandButton1_Click()
Sheet1.Range("A1").AutoFilter _
                   Field:=7, _
                   Criteria1:=">=" & Format(TextBox1, "yyyy/mm/dd"), _
                   Operator:=xlAnd, _
                   Criteria2:="<=" & Format(TextBox2, "yyyy/mm/dd")
End Sub
 
   

 

Otra opción

 

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