Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
D.Farns
 
Posts: n/a
Default Run Time error using AdvancedFilter

I'm trying to use Advancedfilter to copy unique values from a list on one
sheet and paste to another sheet. The list being copied is part of an
external data range. The code for advancedfilter runs fine. I can run
multiple times without error.

Here's the problem:
After refreshing the external data range (data retrieved from web service
API) the advancedfilter code generates a run time error 1004 and says "The
extract range has a missing or illegal field name". The extract range is a
range within the recently refreshed external data range. I am stumped.
Is there some way I should be resetting advancedfilter or something?
Anyone know why the extract range is being viewed differently after it's
refreshed?

any suggestions would be most appreciated...

--
D.Farns
  #2   Report Post  
Posted to microsoft.public.excel.misc
D.Farns
 
Posts: n/a
Default Run Time error using AdvancedFilter

I think I'm all set with this. Evidently I was simply missing the so called
"optional" extract range heading. Adding the list's column heading to the
1st cell of the destination range seemed to do the trick.


--
D.Farns


"D.Farns" wrote:

I'm trying to use Advancedfilter to copy unique values from a list on one
sheet and paste to another sheet. The list being copied is part of an
external data range. The code for advancedfilter runs fine. I can run
multiple times without error.

Here's the problem:
After refreshing the external data range (data retrieved from web service
API) the advancedfilter code generates a run time error 1004 and says "The
extract range has a missing or illegal field name". The extract range is a
range within the recently refreshed external data range. I am stumped.
Is there some way I should be resetting advancedfilter or something?
Anyone know why the extract range is being viewed differently after it's
refreshed?

any suggestions would be most appreciated...

--
D.Farns

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
formula to determine time range overlap? William DeLeo Excel Discussion (Misc queries) 0 June 6th 06 08:26 PM
Hot key for time? Dave in Des Moines Excel Worksheet Functions 2 March 24th 06 04:15 PM
time sheet drop down lists Steve Excel Discussion (Misc queries) 12 March 18th 06 10:30 PM
Entering Times Denise Excel Discussion (Misc queries) 9 November 15th 05 04:57 PM
time differences in a column 68magnolia71 Excel Worksheet Functions 3 May 9th 05 09:46 PM


All times are GMT +1. The time now is 11:42 PM.

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

About Us

"It's about Microsoft Excel"