Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm using version 2003 and want to quickly hide all the rows that are not
bold, leaving me with just the bold rows (the ones that contain only the data I want to see). I don't see a way to do this using conditional formatting. -- kczmatthews |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this
Sub copyit() Dim myrange, MyRange1 As Range Set myrange = ActiveSheet.UsedRange For Each c In myrange If c.EntireRow.Font.Bold = False Then If MyRange1 Is Nothing Then Set MyRange1 = c.EntireRow Else Set MyRange1 = Union(MyRange1, c.EntireRow) End If End If Next MyRange1.EntireRow.Hidden = True End Sub Mike "kczmatthews" wrote: I'm using version 2003 and want to quickly hide all the rows that are not bold, leaving me with just the bold rows (the ones that contain only the data I want to see). I don't see a way to do this using conditional formatting. -- kczmatthews |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm going to admit I'm not very advanced. Where do I enter this information?
Thank you! -- kczmatthews "Mike H" wrote: Try this Sub copyit() Dim myrange, MyRange1 As Range Set myrange = ActiveSheet.UsedRange For Each c In myrange If c.EntireRow.Font.Bold = False Then If MyRange1 Is Nothing Then Set MyRange1 = c.EntireRow Else Set MyRange1 = Union(MyRange1, c.EntireRow) End If End If Next MyRange1.EntireRow.Hidden = True End Sub Mike "kczmatthews" wrote: I'm using version 2003 and want to quickly hide all the rows that are not bold, leaving me with just the bold rows (the ones that contain only the data I want to see). I don't see a way to do this using conditional formatting. -- kczmatthews |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting bold cells in table rows | Excel Worksheet Functions | |||
cut rows without cutting hide rows | Excel Discussion (Misc queries) | |||
hide rows if | Excel Discussion (Misc queries) | |||
Join bold and non-bold text in one cell | Excel Discussion (Misc queries) | |||
Hide Rows - copy and paste only rows that show | Excel Worksheet Functions |