Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to create a macro in Excel 97 that will select some autofiltered cells from one sheet , copy and paste them to another sheet. The code that I am using is: With Sheets("Initial Test Store Data").AutoFilter.Range On Error Resume Next Set Sum_Order_Amt = .Offset(1, 0).Resize(.Rows.Count - 1, 1) ..SpecialCells (xlCellTypeVisible) Set Year_Week_Number = .Offset(1, 0).Resize(.Rows.Count - 1, 1) _ .SpecialCells(xlCellTypeVisible) Set Retail_Outlet_Number = .Offset(1, 0).Resize(.Rows.Count - 1, 1) _ .SpecialCells(xlCellTypeVisible) Set Product_Types = .Offset(1, 0).Resize(.Rows.Count - 1, 1) _ .SpecialCells(xlCellTypeVisible) On Error GoTo 0 End With But when running the program VB does nothing at this point. Can you help me? Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy nonadjacent Autofiltered cells to another sheet | Excel Discussion (Misc queries) | |||
How do I add up cells that are autofiltered? | Excel Worksheet Functions | |||
How to change shade of cells when selecting multiple cells | Excel Discussion (Misc queries) | |||
Pasting copied AutoFiltered cells in Excel2007 | Excel Discussion (Misc queries) | |||
Ranking With Sum Product Formulas over Autofiltered Cells | Excel Discussion (Misc queries) |