View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
pascal baro pascal baro is offline
external usenet poster
 
Posts: 23
Default Copy filtered data to sheet 2

Hi,

This code below copies an autofiltered list to another sheet:
---
Set r = ws.Range("A1").CurrentRegion
With r
.AutoFilter 13, "NZzzM", xlAnd
Set rv = .Offset(1).SpecialCells(xlCellTypeVisible)
End With
rv.Copy ws2.Range("A1")
---
Pascal Baro