Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 76
Default BOLD CELLS FILTER - VBA "Please Help?!?"

I need the VBA to filter a range of subtotales by BOLD type. I want to write
this command into a macro. I have always used Ron deBruin's easy filter, but
the easy filter will not allow itself to be written in as VBA, even if the
Add-In is embedded into my excel program. I know that there is simple VBA
language that will aloow me to filter my sub-totaled column by BOLD type.
PLEASE HELP

PS. "Mike H - Please do not respond with the generic helper cell/answer
found at http://support.microsoft.com/default.aspx/kb/213923." This is not
useful for VBA with sub-totaled cells.

THANKS and please hurry!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default BOLD CELLS FILTER - VBA "Please Help?!?"

Hi,

Here is some code

Sub FilterBold()
Dim cell As Range
For Each cell In Selection
If cell.Font.Bold = False Then
cell.EntireRow.Hidden = True
End If
Next cell
End Sub


--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Teddy-B" wrote:

I need the VBA to filter a range of subtotales by BOLD type. I want to write
this command into a macro. I have always used Ron deBruin's easy filter, but
the easy filter will not allow itself to be written in as VBA, even if the
Add-In is embedded into my excel program. I know that there is simple VBA
language that will aloow me to filter my sub-totaled column by BOLD type.
PLEASE HELP

PS. "Mike H - Please do not respond with the generic helper cell/answer
found at http://support.microsoft.com/default.aspx/kb/213923." This is not
useful for VBA with sub-totaled cells.

THANKS and please hurry!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default BOLD CELLS FILTER - VBA "Please Help?!?"

Hi Teddy

I use AdvancedFilter in the Add-in to do the filter
and use a lot of code<g

I will put it on my list to create a simple example


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Teddy-B" wrote in message ...
I need the VBA to filter a range of subtotales by BOLD type. I want to write
this command into a macro. I have always used Ron deBruin's easy filter, but
the easy filter will not allow itself to be written in as VBA, even if the
Add-In is embedded into my excel program. I know that there is simple VBA
language that will aloow me to filter my sub-totaled column by BOLD type.
PLEASE HELP

PS. "Mike H - Please do not respond with the generic helper cell/answer
found at http://support.microsoft.com/default.aspx/kb/213923." This is not
useful for VBA with sub-totaled cells.

THANKS and please hurry!


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
Add only cells whose contents are in "Bold" oisinirish Excel Discussion (Misc queries) 3 February 22nd 09 07:30 PM
Auto Filter - how to collapse "non-blank" cells in a column? marla Excel Discussion (Misc queries) 2 August 24th 08 10:03 PM
How do I filter "Blank" cells in Pivot Table Felipe Brochier Excel Discussion (Misc queries) 0 July 31st 06 02:16 PM
Where is the toolbar with the "bold type", "font type", options fwccbcc New Users to Excel 2 May 3rd 06 09:11 PM
Can i "filter" in excel by words in Bold? Roger Excel Worksheet Functions 5 December 28th 05 03:59 PM


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