The Code Cage - Microsoft Office help Free Microsoft Office Help for all Applications!  

To stop seeing these ads and get other benefits check This page!

Go Back   The Code Cage Forums > Members - Microsoft Topics > Members - Excel Forum > Members - Excel VBA Programming
  Chat In Use Now! Microsoft Office Chat Online now!


Members - Excel VBA Programming Members, post questions in this forum if they are related to using Microsoft Excel VBA Programming, Macro's etc.
If you recieve no reply within 1 day your thread will be reposted in the newsgroups with a redirect here.

Hey there!

It looks like you're enjoying but haven't created an account yet. Why not take a minute to register for your own free account now? As a member you get free access to all of our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. Register now!

Already a member? Login at the top of this page to stop seeing this message.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 7th February 2010, 06:05 AM
Junior Member
MS Office Version: MS Office 97
MS Office Skill Level: Proficient with Excel


My Top Tip Count: 0

 
Join Date: Feb 2010
Location: US
Age: 52
Posts: 10
Thanks to others: 0
Thanked 0 Times in 0 Posts
Chats: 0
Rep Power: 1
new2excel is on a distinguished road
Default Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


I have been searching for a way to change the color of the autofilter button so it is more visible. I have found that can not be done. But there is a lot of code out there that will is said to change the color of the column head cell when it's filter is in effect. I have down loaded the zip files and opened the sample spread sheets and none have worked.

I am running Office Pro 2003, Excel 2003 (11.5612.5606) Can some one direct me to a sample that will work on my version of Excel so I can copy and past the code to my spread sheet?

I would really appreciate the help

Thanks
Reply With Quote


Did you find this post helpful? Yes | No

The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #2 (permalink)  
Old 7th February 2010, 11:48 AM
Simon Lloyd's Avatar
Administrator
MS Office Version: MS Office 97, 2003, 2007
MS Office Skill Level: Can use most of MS Office


My Top Tip Count: 5

 
Join Date: Aug 2008
Location: Manchester, England
Age: 45
Posts: 1,919
Thanks to others: 3
Thanked 74 Times in 73 Posts
Chats: 655
Rep Power: 10
Simon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud of
5 Top Tips
Wales
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


I'm not sure how to do that efficiently and maybe someone else will jump in however the following code will colour the first cell in a column if the autofilter is already being used:
VBA CODE:
Private Sub Worksheet_SelectionChange(ByVal Target As Range) 
    If Me.AutoFilterMode = True And Me.FilterMode = True Then 
        Cells(1, Target.Column).Interior.ColorIndex = 3 
    Else 
        Cells(1, Target.Column).Interior.ColorIndex = xlNone 
    End If 
End Sub 
__________________
Regards,
Simon Lloyd
Excel Chat
Reply With Quote


Did you find this post helpful? Yes | No
  #3 (permalink)  
Old 7th February 2010, 06:59 PM
Junior Member
MS Office Version: MS Office 97
MS Office Skill Level: Proficient with Excel


My Top Tip Count: 0

 
Join Date: Feb 2010
Location: US
Age: 52
Posts: 10
Thanks to others: 0
Thanked 0 Times in 0 Posts
Chats: 0
Rep Power: 1
new2excel is on a distinguished road
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


I am brand new to VBA so I will need a little help getting through this.

I have created a spread sheet where column C is a column having 10 rows with numbers 1 - 10 in random order. The first data is in cell C3. The column header is cell C2 in which the autoformat has been set.

* I pressed alt-F11 to open VBA
* In project I select sheet1
* Pasted in the code.
* Save and close VBA

What do i do after that?

At Sample Excel Spreadsheets - Excel Templates there are a couple of zip files containing examples But I have not been able to make them work either. I think I must be doing the same thing wrong but I don't know what it is?

FL0014 - Colour Filter Headings -- Event code colours the filtered column headings, when an AutoFilter is applied. Updated to prevent unnecessary clearing of Undo stack, per tip from Nigel Hunt. FilterColour.zip 9 kb 15-Apr-05 updated 07-Dec-09

FL0007 - Highlight AutoFilter Headings -- User Defined Function, and conditional formatting, highlight column headings where filters are applied. FilterHighlight.zip 15kb

Change colour of Autofilter arrows
Change colour of Autofilter arrows - Excel Help & Excel Macro Help
Reply With Quote


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #4 (permalink)  
Old 7th February 2010, 07:31 PM
Simon Lloyd's Avatar
Administrator
MS Office Version: MS Office 97, 2003, 2007
MS Office Skill Level: Can use most of MS Office


My Top Tip Count: 5

 
Join Date: Aug 2008
Location: Manchester, England
Age: 45
Posts: 1,919
Thanks to others: 3
Thanked 74 Times in 73 Posts
Chats: 655
Rep Power: 10
Simon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud of
5 Top Tips
Wales
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


You have been crossposting, we don't mind crossposting if it's done correctly, you will find that all the good people that answer questions visit ALL of the related forums so it doesn't go un noticed.
attention

Attention

Rule 8 Your post breaks Rule 8 please click the link, read the rule and then amend you post accordingly.





A full list of rules (link shown in the terms and conditions you agreed to when joining) can be found here The Code Cage Forums - FAQ: Forum Rules , once you comply with the rule i will be happy to help further.
__________________
Regards,
Simon Lloyd
Excel Chat
Reply With Quote


Did you find this post helpful? Yes | No
  #5 (permalink)  
Old 8th February 2010, 03:36 AM
Junior Member
MS Office Version: MS Office 97
MS Office Skill Level: Proficient with Excel


My Top Tip Count: 0

 
Join Date: Feb 2010
Location: US
Age: 52
Posts: 10
Thanks to others: 0
Thanked 0 Times in 0 Posts
Chats: 0
Rep Power: 1
new2excel is on a distinguished road
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


My apologies to the group. Newbee mistake I have cross posted
The Code Cage - Microsoft Office Help - Microsoft Office Discussion
Excel Help Forum
Reply With Quote


Did you find this post helpful? Yes | No
  #6 (permalink)  
Old 8th February 2010, 07:21 AM
Simon Lloyd's Avatar
Administrator
MS Office Version: MS Office 97, 2003, 2007
MS Office Skill Level: Can use most of MS Office


My Top Tip Count: 5

 
Join Date: Aug 2008
Location: Manchester, England
Age: 45
Posts: 1,919
Thanks to others: 3
Thanked 74 Times in 73 Posts
Chats: 655
Rep Power: 10
Simon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud of
5 Top Tips
Wales
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


Thanks for those links but they need to be the url of the threads so that people can follow the progress
__________________
Regards,
Simon Lloyd
Excel Chat
Reply With Quote


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #7 (permalink)  
Old 8th February 2010, 07:38 AM
Junior Member
MS Office Version: MS Office 97
MS Office Skill Level: Proficient with Excel


My Top Tip Count: 0

 
Join Date: Feb 2010
Location: US
Age: 52
Posts: 10
Thanks to others: 0
Thanked 0 Times in 0 Posts
Chats: 0
Rep Power: 1
new2excel is on a distinguished road
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


Quote:
Originally Posted by Simon Lloyd View Post
Thanks for those links but they need to be the url of the threads so that people can follow the progress
Show what autofilter is in effect - Excel Help Forum
Reply With Quote


Did you find this post helpful? Yes | No
  #8 (permalink)  
Old 8th February 2010, 07:53 AM
Simon Lloyd's Avatar
Administrator
MS Office Version: MS Office 97, 2003, 2007
MS Office Skill Level: Can use most of MS Office


My Top Tip Count: 5

 
Join Date: Aug 2008
Location: Manchester, England
Age: 45
Posts: 1,919
Thanks to others: 3
Thanked 74 Times in 73 Posts
Chats: 655
Rep Power: 10
Simon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud of
5 Top Tips
Wales
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


Thanks very much! , in that case, try this:
VBA CODE:
CODE REMOVED WRONG THREAD 
__________________
Regards,
Simon Lloyd
Excel Chat
Reply With Quote


Did you find this post helpful? Yes | No
  #9 (permalink)  
Old 8th February 2010, 07:55 AM
Simon Lloyd's Avatar
Administrator
MS Office Version: MS Office 97, 2003, 2007
MS Office Skill Level: Can use most of MS Office


My Top Tip Count: 5

 
Join Date: Aug 2008
Location: Manchester, England
Age: 45
Posts: 1,919
Thanks to others: 3
Thanked 74 Times in 73 Posts
Chats: 655
Rep Power: 10
Simon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud ofSimon Lloyd has much to be proud of
5 Top Tips
Wales
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


How did the solution at excel forum work for you?
__________________
Regards,
Simon Lloyd
Excel Chat
Reply With Quote


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #10 (permalink)  
Old 9th February 2010, 03:53 AM
Junior Member
MS Office Version: MS Office 97
MS Office Skill Level: Proficient with Excel


My Top Tip Count: 0

 
Join Date: Feb 2010
Location: US
Age: 52
Posts: 10
Thanks to others: 0
Thanked 0 Times in 0 Posts
Chats: 0
Rep Power: 1
new2excel is on a distinguished road
Default Re: Show what autofilter is in effect

------ Register to get rid of these "In Post" ads! ------


Quote:
Originally Posted by Simon Lloyd View Post
How did the solution at excel forum work for you?
I was able to get it working. It is more complex than i was thinking. I was hoping for something simple like changed the column header color when filtered. But it accomplishes the what i need.
Reply With Quote


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
Reply

Bookmarks

Tags
autofilter, effect


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!



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


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
No part of this board may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application the represent