+ Reply to Thread
Results 1 to 3 of 3

VBA code to print several print areas in one worksheet

  1. #1
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    VBA code to print several print areas in one worksheet

    Hi gurus,

    Here I have a question.
    In the worksheet I have 6 buttons. Each of the buttons should print different area on that sheet. What code should I assign to each button?

    Thanks guys
    Last edited by ABSTRAKTUS; 11-25-2010 at 03:24 PM.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: VBA code to print several print areas in one worksheet

    Good evening ABSTRAKTUS

    Just start a macro recording, set up the print range, send the range to a printer and click on the stop button.
    Then assign this macro to the appropriate button.
    Do this for each range on your worksheet and each button.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Re: VBA code to print several print areas in one worksheet

    Thanks Dominic! So easy... What a shame... :D

+ 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