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.

Copiar datos a otro libro

publicado

Buenas noches:

Tengo el siguiente macro que lo acomode a mi utilidad

Sub Copiar_a_RecKardex()
For Each Hoja In Worksheets
    If Hoja.Name <> "REC" Then
    
    'Comprobamos antes si la hoja está entre las mencionadas en la columna R
    
    Dim qRangoR As Range
    'Set qRangoR = Application.Intersect(Columns("P:P"), Hoja28.UsedRange)
    Set Origen = Range("P2")
        
        For Each cell In Origen
        
            If cell.Value = Hoja.Name Then
                'si la hoja coincide con alguno de los nombres de la columna N, se ejecuta
            
                uFila = Worksheets("REC").Range("A" & Rows.Count).End(xlUp).Row
                Worksheets("REC").Range("b3:O" & uFila).Copy Destination:=Worksheets(Hoja.Name).Range("A" & Rows.Count).End(xlUp).Offset(1)
        
                Else
                'si no coincide no hace nada
        
            End If
        
        Next cell
    
    End If
Next
End Sub

Bueno como les indique hace lo que necesito, pero que código tendria que aumentar para pasar el rango seleccionado de mi hoja TKT a otro libro que esta con el nombre "CUENTAS" ???

Saludos cordiales

 

Jesús

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.