Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Copying four filtered cells
Thanks to Luke, Edhardo, Jacob Scaria.
But my problem is going on. Copying four filtered cells by means of macro ? we know that there will be maximum 4 cells as result of filtering (or we can also assume that we will copy only first four cells (grades)) In Luke' s I have this problem: For example I will copy to A2 from the filtered place. In A6, A7.... THERE ARE DATA. If I make 100 as Luke' s suggestion these A6, A7... are overwritten "Luke M" wrote: Is it always the same 4 cells? How do you if it the filter will only give 4 results? If what you are really wanting is to select all the results from the filter, something like this: Range("A2:A100").SpecialCells(xlCellTypeVisible).S elect Selection.Copy Where A2:A100 is the range you filtered, so that you won't get any extra cells from the end of the workbook. -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "CousinExcel" wrote: |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copying filtered four cells by means of macro | Excel Discussion (Misc queries) | |||
Copying and shifting filtered data by one row & maintaining the da | Excel Discussion (Misc queries) | |||
copying filtered data in Excel 2007 | Excel Discussion (Misc queries) | |||
Copying filtered data to another worksheet | Excel Worksheet Functions | |||
Copying Filtered Data | Excel Discussion (Misc queries) |