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.

Solicitar columna mediante InputBox

publicado

Saludos a todos.

Tengo un macro que busca en una columna un criterio concreto ("M") y elimina las filas que no lo tienen, copiándome los resultados en otra hoja, hasta aquí la macro funciona bien, ahora necesitaría que dicha columna pudiera elegirse a través de un InputBox. Lo ideal, ya que la primera fila de la hoja es una fila de fechas, sería que se preguntara por un día concreto, pero no he sido capaz de conseguirlo.

También me interesaría que se pudiera elegir el criterio a buscar, mediante el mismo método.

Agradecería algún consejo.

Mil gracias de antemano por la ayuda. :D

Sub copiar_filas()
j = 2
For i = 2 To 158 Step 2
Sheets(“MARZO”).Activate
If Cells(i, “D”) = "M" Then
Range(Cells(i, “C”), Cells(i, “C”)).Copy
Sheets("Hoja3").Activate
Cells(j, "A").Select
ActiveSheet.Paste
j = j + 1
End If

Next

End Sub

 

Featured Replies

No hay posts para mostrar

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.