LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Macro to perform Advanced Filtering

A form contains a list box with 3 columns in it, (Number, First, Last). when
the user clicks the listbox, a macro runs that does advanced filtering on the
list. The criteria range gets filled with the values of first and last (not
everyone has a number) from the list box's 2nd nd 3rd columns, then the
filtering:
Range("Ledger").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _
Range("Criteria"), Unique:=False
ledger refers to the entire data table, including the column headings, and
criteria is the criteria range.

The problm i am having is that this is not returning all of the records for
my name in the list, just the last of three. and yes, everything is spelled
exactly the same. does anyone know why this is filtering out data???
 
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 Kirk P. Excel Discussion (Misc queries) 2 November 19th 09 05:26 PM
advanced filtering Lola Excel Discussion (Misc queries) 1 February 27th 08 08:16 PM
Advanced filtering macro Sandy Excel Worksheet Functions 2 May 1st 07 04:16 PM
Advanced Filtering by Date (or Macro) Help Alexis Excel Worksheet Functions 1 March 8th 06 05:09 PM
advanced filtering jiwolf Excel Worksheet Functions 2 October 19th 05 09:43 PM


All times are GMT +1. The time now is 07:00 AM.

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"