LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Filter Criteria - Excel 2007

I'm trying to show the filter criteria when printing. I've seen VBA code by
several MVP's, and all work great as far as showing the criteria in a cell
in the worksheet. I've written code in the ThisWorkbook object using the
BeforePrint event to put the values in a header, but I'm limited to only 2
criteria. However, I want to show all of the filter criteria, not just 2
per column. In Excel 2007, when auto filter is on, and the mouse hovers
over the filter arrow, it shows all of the filter criteria, not just 2.

For example, the worksheet has several thousand rows, and Column A has 20
unique values. I want to see only the rows with Column A values of 11, 30
and 66. I can manually select all three values from the auto filter list.
When the mouse hovers over the auto filter arrow in column A, the values 11,
30, 66 are displayed in the bubble. How can I get those values to print?
Is there a builtin way to show this in a header or footer in Excel 2007? If
not, can someone offer some VBA code to show more than 2 criteria?

Thanks,
Steve


 
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
Excel 2007 Problem with Filter [email protected] Excel Worksheet Functions 2 January 21st 08 07:30 AM
autosum with filter excel 2007 chris z Excel Discussion (Misc queries) 1 August 25th 07 04:42 PM
Auto Filter in EXCEL 2007 Pramod Mehta Excel Discussion (Misc queries) 4 April 18th 07 05:04 PM
filter options in excel 2007 Bartje Excel Discussion (Misc queries) 0 September 8th 06 02:01 PM
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM


All times are GMT +1. The time now is 11:12 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"