Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Print many worksheets

Hi,
I want to add a button that prints many, but not all, worksheets.
How do I go about this?

Thanks,

Graeme
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default Print many worksheets

"Graeme at Raptup" wrote in
message ...
Hi,
I want to add a button that prints many, but not all, worksheets.
How do I go about this?

Thanks,

Graeme


Turn macro recording on, do what you want to do manually, turn macro
recording off. You can now add a button to the menu and assign this macro
to the button.

(press F11 to look at the VB code created in case you need to modify it.)


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Print many worksheets

Hi Graeme

You can use a array

Sheets(Array("Sheet1", "Sheet3")).PrintOut
'all sheets in the array

Or print the selected sheets

ActiveWindow.SelectedSheets.PrintOut
'print all selected sheets


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Graeme at Raptup" wrote in message
...
Hi,
I want to add a button that prints many, but not all, worksheets.
How do I go about this?

Thanks,

Graeme


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Print many worksheets


Thanks,
I ended up using Sheets(Array(....



"Ron de Bruin" wrote:

Hi Graeme

You can use a array

Sheets(Array("Sheet1", "Sheet3")).PrintOut
'all sheets in the array

Or print the selected sheets

ActiveWindow.SelectedSheets.PrintOut
'print all selected sheets


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Graeme at Raptup" wrote in message
...
Hi,
I want to add a button that prints many, but not all, worksheets.
How do I go about this?

Thanks,

Graeme



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
Need to print a workbook but worksheets have diff print areas Angela Steele Excel Discussion (Misc queries) 1 January 17th 08 07:39 PM
All worksheets will not print inmidga Excel Discussion (Misc queries) 1 August 19th 07 02:18 AM
How to PRINT all worksheets at once tom Setting up and Configuration of Excel 3 October 13th 06 11:49 PM
How do I print a workbook in but only print selected worksheets? Karl S. Excel Discussion (Misc queries) 1 August 31st 06 12:34 AM
print out of worksheets Ankur Excel Worksheet Functions 3 August 11th 05 01:12 PM


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