+ Reply to Thread
Results 1 to 2 of 2

code in Excel to print with button

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    ontario, canada
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question code in Excel to print with button

    I have created a button named preview summary which needs to print the worksheet summary page in landscape and I don't know how to write the code. Can someone help me with this. Thanks

  2. #2
    Registered User
    Join Date
    08-15-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: code in Excel to print with button

    Put the following code in a module and call it using the button:

    Please Login or Register  to view this content.
    You can activate the two deactivated rows in red by removing the ' at the beginning of the row.

    If you activate these rows you will only print one page wide.
    Last edited by g8r777; 10-10-2012 at 08:54 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1