Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi All,
I wrote a macro in Office 2003 which does the following task. In a data Sheet names Total2, it filters Colum 2 using a keyword and then copies only the filtered data onto a new sheet called Calculation. I used the following lines of code which was working perfectly Sheets("Total2").Select Selection.AutoFilter Field:=3, Criteria1:=Var3 'Var 3 keeps on changing for each loop I run Sheets("Total2").Select Range("A1:FE999").Select Selection.Copy Sheets("Calculation").Select Range("A1").Select ActiveSheet.Paste Earlier, it was copying only the filtered data... Now, when I try running the same macro using Office 2007, the entire data is copied irrespective of what I use as a filter. What do I do to paste only the filtered data in the Sheet "Calculation" Please help Thanks in advance, Anshuman |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy & Paste Issue | Excel Discussion (Misc queries) | |||
Paste Value Option change in Office 2007 | Excel Discussion (Misc queries) | |||
Copy Paste issue | Excel Worksheet Functions | |||
Issue with copy/paste dates from filtered data | Excel Discussion (Misc queries) | |||
Issue with copy & paste? | Excel Discussion (Misc queries) |