Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Hi I hope someone can help me with this I want to run this on a sheet carlog before printing but I cant work out how to put the print routine in, anyone!!!! Sub HideRows() Dim i As Long Application.ScreenUpdating = False For i = 10 To 44 For j = 10 To 44 If Range("A" & i).Value = "" Then Range("A" & i).EntireRow.Hidden = True End If If Range("b" & j).Value = 0 Then Range("b" & j).EntireRow.Hidden = True End If Next 'i Next 'j Application.ScreenUpdating = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Print separate reports with same column heading | Excel Discussion (Misc queries) | |||
Conditional formats don't print | Excel Discussion (Misc queries) | |||
XL print preview should show grayscale if chosen on color printer | Excel Discussion (Misc queries) | |||
changing print area in an entire workbook | Excel Worksheet Functions | |||
Varying page Excel report | Excel Discussion (Misc queries) |