LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 195
Default Print question

Need a Before_Print code that will do the following:
1) Maintain 3 header rows set in "rows to repeat at top"
2) Hide rows that do not contain dates for month in A2, dates start at C4
and go down the column, some of which may not have dates entered yet
3) Print the sheet
4) Unhide the rows previously hidden in 2)

something like
If month(c4:c124)< month(a2) then entirerow.hidden=true
Range(visiblerows).printout
Range(hiddenrows).visible=true

--
David
 
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
Print Question? Dave Excel Discussion (Misc queries) 2 February 18th 09 08:18 PM
Do not print one cell question? LiveUser Setting up and Configuration of Excel 4 May 20th 08 01:29 AM
Another Print Area question curiosity_killed_the_cat[_2_] Excel Discussion (Misc queries) 3 January 29th 08 09:35 PM
Print Question Newbie Please help Thomas R Grassi Jr New Users to Excel 2 November 14th 06 02:16 AM
Print question? John Excel Discussion (Misc queries) 2 March 17th 05 02:47 PM


All times are GMT +1. The time now is 02:47 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"