Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default illegal field name using advanced filters after inserting a row

I have a macro that calls the advanced filter to find all of the unique names
in a column. I have run it several times and have had no problems. I recently
added a new name to the top of the list by inserting a new row, now everytime
I try to run the macro it says that there is a "missing or illegal field
name". I cut and pasted this inserted row at the bottom and deleted the now
empty row and the filter works just fine and will list the name at the bottom
of the unique list. I then tried to sort the cells in ascending order, the
new name, being first alphabetically, was listed first. I tried to run the
macro again and got the same problem. I would like to have the list in
alphabetical order, is there any way to work around this problem?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default illegal field name using advanced filters after inserting a row

tron527 wrote:
I have a macro that calls the advanced filter to find all of the unique names
in a column. I have run it several times and have had no problems. I recently
added a new name to the top of the list by inserting a new row, now everytime
I try to run the macro it says that there is a "missing or illegal field
name". I cut and pasted this inserted row at the bottom and deleted the now
empty row and the filter works just fine and will list the name at the bottom
of the unique list. I then tried to sort the cells in ascending order, the
new name, being first alphabetically, was listed first. I tried to run the
macro again and got the same problem. I would like to have the list in
alphabetical order, is there any way to work around this problem?

In some situations when an Excel sheet is used to hold data, Excel
assumes the top row to contain the field names. If this is the case,
and one of the values that ends up in the top violates the rules for
field names, trouble would likely be encountered.
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 filters (+/-5%) Hotel_guy Excel Worksheet Functions 4 November 9th 08 07:13 AM
Advanced filters. Hector Excel Discussion (Misc queries) 0 May 22nd 08 01:16 PM
Advanced Filters CJLuke Excel Discussion (Misc queries) 2 March 22nd 07 09:05 AM
advanced filters jiwolf Excel Worksheet Functions 4 October 18th 05 06:08 PM
Advanced Filters Louise Excel Worksheet Functions 3 September 26th 05 11:57 AM


All times are GMT +1. The time now is 01:19 PM.

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"