The following code fails if autofilter is filtering rows. How do I
adapt my code to make it work? The goal is to copy a sheet and then
replace all formuals with values.
Sheets(strSheetName).Copy
After:=wkbNewWorkbook.Sheets(wkbNewWorkbook.Sheets.Count)
ActiveSheet.Cells.Copy
ActiveSheet.Cells.PasteSpecial xlValues
Bookmarks