ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Create a link to print a certain range (https://www.excelbanter.com/excel-discussion-misc-queries/99732-create-link-print-certain-range.html)

AdamCPTD

Create a link to print a certain range
 
I have a spreadsheet that has two different reports on it.
I would like to have two different links at the top of the page that say
"Click here to Print Report 1" and "Click here to Print Report 2."
I have no idea how to do this, or if it is even possible.
Thanks for any help!

Adam

Dave Peterson

Create a link to print a certain range
 
Record two macros.

Record the first when you print the first report. Record the second when you
print the second report.

Then show the Forms toolbar. Put a button from that toolbar on the worksheet.
Assign the first macro to that button. And change the caption to show what you
want.

And then do the same for the second button.

AdamCPTD wrote:

I have a spreadsheet that has two different reports on it.
I would like to have two different links at the top of the page that say
"Click here to Print Report 1" and "Click here to Print Report 2."
I have no idea how to do this, or if it is even possible.
Thanks for any help!

Adam


--

Dave Peterson


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com