Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Variable Print Length

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Elfego Baca - 26 Jan 2007 01:45 GMT
I have a worksheet with 10 columns and 1 to 100 rows depending on the
number of clients we have in a day. I would like to write a macro that
automatically figures out the print size necessary and prints the sheet
or sheets necessary to print all the information. For example suppose
that on day 1 the last row with data is row 20. Since the sheet will
print 30 rows per page, then the print size would be A1:J30. If,
however, the number of rows used on day 2 is 49, then  pressing the
[Print] Button (that would run the macro) would print 2 sheets; the
first with the first 30 rows and the second with the final 19 rows.
Earl Kiosterud - 26 Jan 2007 01:55 GMT
Elfego,

By "Print size" do you mean the Print Area?  Normally, it's not necessary to
do anything special to print a large or small worksheet.  Just Print.  It
prints it on as many pages as necessary.
Signature

Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------

>I have a worksheet with 10 columns and 1 to 100 rows depending on the
>number of clients we have in a day. I would like to write a macro that
[quoted text clipped - 5 lines]
>the macro) would print 2 sheets; the first with the first 30 rows and the
>second with the final 19 rows.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.