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.

Acelerar Macro que copia datos

publicado

Para: Cacho R

Hola Cacho, me podras ayudar con esta macro, te paso el codigo:

Sub Copiar_Numeros()
    Range("V2", Cells(999001, Columns.Count)).ClearContents
    For i = 2 To 999001
        If Cells(i, "U") > 2 And Cells(i, "U") < 9 Then
            k = Columns("V").Column
            For j = 1 To Columns("T").Column
                If Cells(i, j) <> "" Then
                    Cells(i, k) = Cells(i, j)
                    k = k + 1
                End If
            Next
        End If
    Next
    MsgBox "Fin"
End Sub

Necesito acelerar el proceso de copia al maximo ya que se trata de 999.000 datos que no es poca cosa.

Lo que la macro hace es: de la fila A2:T2 que contiene celas vacias y celdas con numeros, primero chequea la U2 tenga un numero entre el 3 y el 8, si se cumple esa condicion copia de izquierda a derecha consecutivamente los numeros en las celdas V2:AC2 y  asi hasta la ultima fila

Gracias

Featured Replies

publicado

¿Conoces al filtro avanzado?...

¿Ya lo intentaste con ese recurso?...

 

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.