I need code to select only visible cells in a specific column except the heading.
This is what I tried:
ActiveSheet.UsedRange.Offset(1, 0).SpecialCells(xlCellTypeVisible).Copy
But the above code will select the entire column except the heading. I need it to only select a specific column (use column D for your answers).
This will select all visible cells with data in column D, except header and last visible cell with data:
Is this what you are trying? This will select all visible cells till the last row in column A except the header: