Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings...
I have a little code I am needing some assistance with. The code is suppose to print out certain sheets based on wether a particular cell on another sheet is empty or not. If the cell is empty the sheet should not print...if cell is not empty, the sheet should print. Here is what I have....any assistance will be greatly appreciated! .................................................. ................................................ Private Sub Print_All_Click() Sheets("Commission Pool").PrintOut Copies:=1, Collate:=True If Not IsEmpty("D20") Then Sheets("Sr-Area Manager").PrintOut Copies:=1, Collate:=True Else Sheets("Sr-Area Manager").PrintOut Copies:=1, Collate:=False End If End Sub .................................................. ................................................ Thanks again and have a wonderful and safe New Year celebration! -- Randy Street Rancho Cucamonga, CA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Differentiate between 'Print' and 'Print Preview' in VBA code | Excel Programming | |||
Code before Print but not Print Preview | Excel Programming | |||
Need Code To Print From Code Modules | Excel Programming | |||
Need Code To Print From Code Modules | Excel Programming | |||
Need print code please | Excel Programming |