Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Advanced data filtering on different sheet

When using advanced filtering with copy to another location, can you copy to
a different sheet? I have a sub procedure that does just that and it fails
occassionally with the following error messages:

You can only copy filtered data to the active sheet.
or
AdvancedFilter method of range class failed.

I don't understand why it works soometimes and fails other times. Is there a
workaround?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default Advanced data filtering on different sheet

Advance filter will only allow the filtered result to be located on the
activesheet. To create a reliable solution put the result in a convenient
area on the active sheet then copy it to your final destination. If
necessary delete the result data on the activesheet


--

Regards,
Nigel




"John" wrote in message
...
When using advanced filtering with copy to another location, can you copy
to a different sheet? I have a sub procedure that does just that and it
fails occassionally with the following error messages:

You can only copy filtered data to the active sheet.
or
AdvancedFilter method of range class failed.

I don't understand why it works soometimes and fails other times. Is there
a workaround?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Advanced data filtering on different sheet

not so

If your table is range named, then you can certainly put the results of the
advanced filter on another sheet.

activate the sheet where you want the results (NOT the sheet with the table).
Ensure that you have your criteria / outout headings ready too, then select
from the menu Data/Filter/AdvancedFilter

In the field 'List Range:' of the Advanced Filter form, just type in the
range name of the table





"Nigel" wrote:

Advance filter will only allow the filtered result to be located on the
activesheet. To create a reliable solution put the result in a convenient
area on the active sheet then copy it to your final destination. If
necessary delete the result data on the activesheet


--

Regards,
Nigel




"John" wrote in message
...
When using advanced filtering with copy to another location, can you copy
to a different sheet? I have a sub procedure that does just that and it
fails occassionally with the following error messages:

You can only copy filtered data to the active sheet.
or
AdvancedFilter method of range class failed.

I don't understand why it works soometimes and fails other times. Is there
a workaround?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Filtering and Data Entry Scott Halper Excel Programming 2 July 9th 08 11:00 PM
Advanced Filtering on an inactive sheet Spencer Excel Programming 2 April 23rd 07 01:10 AM
advanced filtering jiwolf Excel Worksheet Functions 2 October 19th 05 09:43 PM
Advanced Filtering Tony Excel Worksheet Functions 3 April 29th 05 11:48 AM
advanced filtering spence[_3_] Excel Programming 2 January 21st 04 02:03 AM


All times are GMT +1. The time now is 01:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"