Computing.Net > Forums > Office Software > Excel 2007 Printout Code

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel 2007 Printout Code

Reply to Message Icon

Name: ibeleevenme
Date: November 3, 2009 at 12:59:34 Pacific
OS: Windows XP
Product: Microsoft Excel 2007
Subcategory: Microsoft Office
Comment:

I'm trying very hard to figure this out. I have a workbook with about 8-9 different worksheets at any given time. Two of the sheets (which are not next to each other) I need to be able to print. I'm trying to figure out the code to put in my command button to print only those two sheets when you click it. The sheets names for instance are "Charts" and "Activity Report". Any help would be greatly appreciated!!!



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: November 3, 2009 at 13:22:26 Pacific
Reply:

Something like this might work for you:

Sheets(Array("Charts", "Activity Report")).PrintOut


0
Reply to Message Icon

Related Posts

See More


linking appointments Script to copy cell value...


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Excel 2007 Printout Code

unable to right click in Excel 2007 www.computing.net/answers/office/unable-to-right-click-in-excel-2007/9142.html

Excel 2007 won't print to local USB printer www.computing.net/answers/office/excel-2007-wont-print-to-local-usb-printer/9666.html

Tricky Transposing in Excel 2007 www.computing.net/answers/office/tricky-transposing-in-excel-2007/8297.html