Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a long list of data. Not every column has data in it. I only want to
print the rows with data in a certain column. Is there a format or formula to automatically hide the rows if there is nothing entered in the cell in a certain column? The data is long and I have to do this for multiple sheets so I'd prefer something automatic. Thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You can try this
http://www.rondebruin.nl/print.htm#Hide And use this lines in the event With ActiveSheet On Error Resume Next .Columns("A").SpecialCells(xlCellTypeBlanks).Entir eRow.Hidden = True .PrintOut .Columns("A").SpecialCells(xlCellTypeBlanks).Entir eRow.Hidden = False On Error GoTo 0 End With -- Regards Ron de Bruin http://www.rondebruin.nl "StephB" wrote in message ... I have a long list of data. Not every column has data in it. I only want to print the rows with data in a certain column. Is there a format or formula to automatically hide the rows if there is nothing entered in the cell in a certain column? The data is long and I have to do this for multiple sheets so I'd prefer something automatic. Thanks in advance. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The easy way to do this would be to apply an AutoFilter to that column, then
select "Non Blanks". Highlight the column Select Filter from the Data menu Select AutoFilter You should now see a dropdown box in the first cell of that column From that list, select (NonBlanks) You can then turn this on/off as needed without writing code or macros or long formulas. HTH, Elkar "StephB" wrote: I have a long list of data. Not every column has data in it. I only want to print the rows with data in a certain column. Is there a format or formula to automatically hide the rows if there is nothing entered in the cell in a certain column? The data is long and I have to do this for multiple sheets so I'd prefer something automatic. Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Printing only certain rows? | Excel Worksheet Functions | |||
Hide Empty Rows When Printing | Excel Worksheet Functions | |||
Hiding Rows if the linked rows are blank | Excel Discussion (Misc queries) | |||
printing only selected rows in a sheet | Excel Discussion (Misc queries) | |||
Printing problems with columns and rows | Excel Discussion (Misc queries) |