+ Reply to Thread
Results 1 to 6 of 6

Printing single page with VBA macro button

  1. #1
    Registered User
    Join Date
    07-25-2018
    Location
    The Netherlands
    MS-Off Ver
    16.15
    Posts
    18

    Printing single page with VBA macro button

    Hi there,

    Can anybody tell me the formula in VBA to print just a single page at a excel sheet. I created a print button at each page within the sheet but when I click on it, it will print all the pages.

    Regards

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Printing single page with VBA macro button

    example:
    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    07-25-2018
    Location
    The Netherlands
    MS-Off Ver
    16.15
    Posts
    18

    Re: Printing single page with VBA macro button

    Hi Kokosek,

    It still does not work.
    Last edited by Bartman888; 03-12-2019 at 10:46 AM.

  4. #4
    Registered User
    Join Date
    07-25-2018
    Location
    The Netherlands
    MS-Off Ver
    16.15
    Posts
    18

    Re: Printing single page with VBA macro button

    See attached file.
    Attached Files Attached Files

  5. #5
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Printing single page with VBA macro button

    Deleted attachments request.
    File has been attached meantime.

  6. #6
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Printing single page with VBA macro button

    Clicking button runs macro which prints 1 page.
    There are no more data anyway.
    You can also set PrintArea as A1:L44 to be sure that anything else won't be printed.
    Last edited by KOKOSEK; 03-12-2019 at 11:00 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Printing a Single page with a preset starting page number.
    By Chua Chee Tiong in forum Excel General
    Replies: 4
    Last Post: 02-15-2018, 04:42 AM
  2. Printing Several Graphs on a single Page
    By RodneyB in forum Excel General
    Replies: 0
    Last Post: 08-24-2017, 12:44 PM
  3. Single Page back in Duplex printing
    By Deadi777 in forum Excel General
    Replies: 0
    Last Post: 07-21-2011, 12:36 PM
  4. [SOLVED] Printing multiple worksheet areas in a single page
    By cradino in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2006, 12:40 PM
  5. [SOLVED] [SOLVED] Print correct Page X of Y when printing single worksheet
    By dbarrett44 in forum Excel General
    Replies: 3
    Last Post: 04-13-2006, 10:34 PM
  6. I want to put page no in a single sheet in excel while printing
    By ravi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2005, 09:05 AM
  7. [SOLVED] Printing Single Page
    By Paul Smith in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2005, 01:05 PM

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