Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How to print multiple sections from different worksheets

Hi all,

I have two worksheets titled "Data" and "Report" in a workbook.

I would like to give the user an option either to print a section of the
"report" worksheet i.e. A1 to G10 which includes a table of text and a
chart or to print the data (A1 to C10) from the data worksheet or the
user can print both of the two options.

I hope someone can help me with this one as it would make my workbook
look so much cleaner and simpler for the user.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,522
Default How to print multiple sections from different worksheets

Try this macro assigned to a button/or printer shape
Sub doyouwanttopring()
ans1 = MsgBox("Do you want to print this", vbYesNo)
ans2 = MsgBox("Do you want to print this two", vbYesNo)
If ans1 = vbYes Then Sheets("report").Range("a1:g10").prinout
If ans2 = vbYes Then Sheets("data").Range ("a1:c10")
End Sub


On Oct 9, 3:25*am, Mas wrote:
Hi all,

I have two worksheets titled "Data" and "Report" in a workbook.

I would like to give the user an option either to print a section of the
"report" worksheet i.e. A1 to G10 which includes a table of text and a
chart or to print the data (A1 to C10) from the data worksheet or the
user can print both of the two options.

I hope someone can help me with this one as it would make my workbook
look so much cleaner and simpler for the user.

Thanks in advance.


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
Possible to have various sections of worksheets print on 1 page? Respite Barb Excel Worksheet Functions 1 April 28th 10 07:51 PM
Print Gridlines only on sections of a spreadsheet TMCAccounting Excel Worksheet Functions 1 September 28th 07 04:37 PM
can I set an excel spreadsheet to print in sections MMG Excel Worksheet Functions 1 August 28th 06 11:42 AM
print spreadsheet in 5 sections....how to? Scudo New Users to Excel 3 October 18th 05 09:10 PM
print selected sections on the same page ripley Excel Discussion (Misc queries) 1 February 22nd 05 04:04 PM


All times are GMT +1. The time now is 02:33 PM.

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

About Us

"It's about Microsoft Excel"