Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need Help!!
I have a workbook with hidden sheets, I want to search the visible sheets for those with value greater than 0 in C2 then print them. Can someone show me where I am going wrong with this code? Tahnks Sub PrintSelectedSheets() 'will print sheet with a value 0 in C2 For Each Sheet In ThisArray.Sheets(Array("Sheet1", "Sheet3", "Sheet5", "Sheet7", "Sheet9")) Sheet.Activate If Range("C2").Value 0 Then ActiveSheet.PrintPreview End If Next End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cells User Select Locked after upgrade to Excel 2002 | Excel Discussion (Misc queries) | |||
how do you "select locked cells" w/o "select unlocked cells"? | Excel Discussion (Misc queries) | |||
Conversion | Excel Worksheet Functions | |||
Dynamic Formulas with Dynamic Ranges | Excel Worksheet Functions | |||
VBA Import of text file & Array parsing of that data | Excel Discussion (Misc queries) |