Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to omit certain worksheets in a series from printing

I have set up a macro to print several worksheets in a Excel workbook.
How do I omit a sheet fom printing if it reflects a zero value in a certain
cell
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 210
Default How to omit certain worksheets in a series from printing

You can surround the print macro with the following condition.

If range("range").value < 0 then

print macro here...

end if

range("range") should be replaced with the range/cell you are referencing.
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Macro Solutions" wrote:

I have set up a macro to print several worksheets in a Excel workbook.
How do I omit a sheet fom printing if it reflects a zero value in a certain
cell

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
selecting a series of worksheets for printing not whole workbook MikeR-Oz New Users to Excel 2 September 11th 08 02:00 PM
how to omit printing data highlighted in red Eagle1 Excel Worksheet Functions 2 September 8th 06 04:51 PM
how do i omit rows for printing based on column value haloprod Excel Discussion (Misc queries) 1 April 5th 06 04:59 AM
How do I omit rows containing nozero values when printing in excel brad Excel Discussion (Misc queries) 4 April 20th 05 10:15 PM
Printing? Worksheets not printing the same on multiple pc's! 43fan Excel Programming 2 April 29th 04 02:34 PM


All times are GMT +1. The time now is 08:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"