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.

Autofiltar y copiar celda visible en otra celda

publicado

Buenas tardes, tengo el siguiente código, pero no sé qué instrucción necesito agregar para que pegue solo los valores de la celda copiada. Ya que me manda error de compilación, de antemano, gracias por la ayuda

Sub FirstVisibleCell()
 With Worksheets("Seguimiento").AutoFilter.Range
       ActiveCell.Value2 = Range("C" & .Offset(1, 0).SpecialCells(xlCellTypeVisible)(1).Row).Value2
       Selection.CurrentRegion.Select
       Selection.SpecialCells(xlCellTypeVisible).Select
      ActiveCell.Copy Destination:=Range("F1").PasteSpecial xlPasteValues
      End With
End Sub

Featured Replies

publicado

Sin entrar a valorar nada más que el error:

Sub FirstVisibleCell()
With Worksheets("Seguimiento").AutoFilter.Range
   ActiveCell.Value2 = Range("C" & .Offset(1, 0).SpecialCells(xlCellTypeVisible)(1).Row).Value2
   Selection.CurrentRegion.Select
   Selection.SpecialCells(xlCellTypeVisible).Select
   ActiveCell.Copy: Range("F1").PasteSpecial xlPasteValues '<--------------
End With
End Sub

 

publicado
  • Autor

acias Antoni por pronta respuesta, me funciono de maravilla, saludos

publicado
  • Autor
hace 5 horas, JSDJSD dijo:

Sube tu archivo

 

Gracias JSDJSD ya me respondió Antoni

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.