Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
SpecialCells(xlCellTypeVisible) will throw an error if no cells are visible.
-- Jim Cone Portland, Oregon USA "ker_01" wrote in message I have a large dataset on "Worksheet A". I use VBA to apply to autofilter criteria to the worksheet, copy the (visible) results, and paste them on to "Worksheet B". The problem I'm running into is that it appears that when the autofilter criteria result in no visible rows, the entire (hidden) data set is copied from "Worksheet A" using the code below. Is there a good way to determine if there are usable rows once the autofilter is applied, but before the copy/paste operation? I'd like to opt out and not copy anything if there are no visible records. Thank you, Keith -snip- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying format controls - xl2003 | Excel Discussion (Misc queries) | |||
Terminating autofilter removes commandbuttons (xl2000, not in xl2003) | Excel Programming | |||
Copying, Pasting Autofilter results to a region more specific than a specified worksheet. | Excel Programming | |||
Switch off Sort with Autofilter in XL2003 | Excel Programming | |||
Copying And Renaming Sheets XL2003 | Excel Programming |