Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Possible to have various sections of worksheets print on 1 page? | Excel Worksheet Functions | |||
Print Gridlines only on sections of a spreadsheet | Excel Worksheet Functions | |||
can I set an excel spreadsheet to print in sections | Excel Worksheet Functions | |||
print spreadsheet in 5 sections....how to? | New Users to Excel | |||
print selected sections on the same page | Excel Discussion (Misc queries) |