A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Macros "take entirely too long"? Never heard that before.... I do with a click what used to take a week - but that's just me.
If you want to paste onto a filtered table, you need to first sort the table so that all the visible cells will end up together. Of course, the logic of sorting depends on your filtering and how many levels of filtering you are using, but that is the basic premise of the solution.
A macro, on the other hand, would work amazingly well in this situation, and would be faster than anything you could to manually. For those of you who woould like a macro solution, select the cells to be copied, run the macro below, and select the filtered cells where you want to paste values into visible cells only.
Sub PasteSelectionIntoVisibleCells()
Dim rngC As Range
Dim rngP As Range
Dim rngA As Range
Dim rngI As Range
Dim i As Integer
Dim xlCalcMode As XlCalculation
Set rngC = Selection
Set rngP = Application.InputBox("Select the filtered cell to paste into", , , , , , , 8)
Set rngP = rngP.SpecialCells(xlCellTypeVisible)
If rngC.Cells.Count <> rngP.Cells.Count Then
MsgBox "You are copying " & rngC.Cells.Count & " cells into " & rngP.Cells.Count & " cells."
Exit Sub
End If
i = 1
xlCalcMode = Application.Calculation
Application.EnableEvents = False
Application.Calculation = xlCalculationManual
For Each rngA In rngP.Areas
For Each rngI In rngA.Cells
rngI.Value = rngC.Cells(i).Value
i = i + 1
Next rngI
Next rngA
Application.Calculation = xlCalcMode
Application.EnableEvents = True
End Sub