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 para eliminar filas con un criterio ¿?

publicado

Hola buenas.

Busco una Macro, ejemplo que comenzando en la  fila 6 elimine las filas desde 6>12 salte 2 filas sin eliminar y continúe eliminado desde las filas 13>14 salte 2 filas sin eliminar y así hasta la fila ejemplo  1.000

O sea eliminar 7 filas saltar 2 sin eliminar y así hasta la 1.000

Saludos….

Featured Replies

publicado

En base a lo explicado la siguiente sentencia cumple con esas características:

Sub EliminarFilas()
    Dim i As Long
    For i = 1000 To 6 Step -1
        If (i - 6) Mod 9 < 7 Then
            Rows(i).Delete
        End If
    Next i
End Sub

 

publicado

Otra forma

Sub Eliminar()
Dim Rango As Range
With ActiveSheet
   Set Rango = .Range("6:12")
   For x = 15 To .UsedRange.Rows.Count Step 9
      Set Rango = Union(Rango, .Rows(x).Resize(7))
   Next
End With
Rango.Delete
End Sub

 

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.