![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2009
Posts: 2
OS: XP Pro
|
Excel Print Macro
I have a workbook with two worksheets. One has an input menu (Menu) and the second one has the computations (Report).
How can I create a Macro to print the Report sheet from the Menu sheet?. I'm new at using macros |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
Join Date: May 2009
Posts: 11
OS: XP SP3
|
Re: Excel Print Macro
you would need to create a button, right clicking on the menu bars and selecting control toolbar and then selecting the "button" icon and drawing your button following that, right click on the button and select view code... using the following code will enable you to print to the default printer
Code:
Worksheets("Report").PrintOut
Code:
Worksheets("Report").PrintOut ActivePrinter:="INSERT PRINTER NAME HERE"
Teshi |
|
|
|
![]() |
| Thread Tools | |
|
|