Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi newsgroup,
Has come upon an interesting challenge ;-) I have to search through an Excel sheet for a lot of data. I would like to have the rows without the searched data to be hidden. Is it possible to do that in Excel - or is it something like a VBA script? Inputs are welcome. I use MS Excel 2007, English Thanks in advance. / Bjarne |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel
|
|||
|
|||
![]()
Hi,
An example might help, however if you want to select some data you can use filters, which will show you only the data filtered "Bjarne Jensen" wrote: Hi newsgroup, Has come upon an interesting challenge ;-) I have to search through an Excel sheet for a lot of data. I would like to have the rows without the searched data to be hidden. Is it possible to do that in Excel - or is it something like a VBA script? Inputs are welcome. I use MS Excel 2007, English Thanks in advance. / Bjarne |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel
|
|||
|
|||
![]()
Excel way:
Place an autofilter on your data, and do a custom filter of: "does not equal", My Data VBA: '============= Sub HideRows() For each c in Range("D1:D100") if c.value < "My Data" then c.EntireRow.Hidden = True else c.EntireRow.Hidden = False end if next End Sub '=============== Note that the XL way would be faster performance time, while VBA would be nice if you need to string multiple criteria together. -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "Bjarne Jensen" wrote: Hi newsgroup, Has come upon an interesting challenge ;-) I have to search through an Excel sheet for a lot of data. I would like to have the rows without the searched data to be hidden. Is it possible to do that in Excel - or is it something like a VBA script? Inputs are welcome. I use MS Excel 2007, English Thanks in advance. / Bjarne |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to hide blank rows after data whilst leaving some blanks. | New Users to Excel | |||
Hide data in specific rows/colums/cells in Excel 2003 | Excel Discussion (Misc queries) | |||
hide certain rows from data import | Excel Discussion (Misc queries) | |||
Chart disappears if you hide rows/colums with data. | Excel Discussion (Misc queries) | |||
Want to auto hide rows in excel when no data in a certain column. | Excel Discussion (Misc queries) |