LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default Printing Headers using Criteria chosen from AutoFilter


The results may be misleading though. If someone chooses 'does not
equal Utah' the header will say 'Utah'. It will also remove any
equal signs, etc. from within the text, but that doesn't sound like
it will be a problem for you. Finally, it doesn't make sure there's
a filter, so you might want to check the FitlerMode property of the
sheet first.


Make that AutoFilterMode, not FilterMode. And you should also check

Sheet1.AutoFilter.Filters(1).On

to ensure that filter was set on that column.

--
Dick Kusleika
MS MVP - Excel
www.dailydoseofexcel.com


 
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
Display Chosen Autofilter Value LP Excel Discussion (Misc queries) 2 April 28th 10 02:44 AM
Footers/Headers Not Printing Connie New Users to Excel 2 September 17th 09 05:50 PM
How to keep Column headers with Autofilter & Freeze Panes Rich D Excel Discussion (Misc queries) 8 July 3rd 08 10:02 PM
Printing Headers [email protected] Excel Discussion (Misc queries) 2 March 26th 05 12:12 AM
Printing Headers JRobinP Excel Discussion (Misc queries) 2 March 25th 05 07:19 PM


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