+ Reply to Thread
Results 1 to 3 of 3

Prevent user from printing chart alone, without the rest of the worksheet

Hybrid View

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    1

    Prevent user from printing chart alone, without the rest of the worksheet

    My workbook has a tab for a data entry form, and then another tab with a dynamic chart and some statistics. I'm having an issue where the user enters the data, clicks on a cell, and it prints properly. But if they click on the chart and then hit print, the only thing that prints is the chart, minus everything else on that page. I'm hoping there is some way to force the entire page to print (much easier to build something like this into the workbook instead of trying to train everyone that uses it). I tried setting a print area but that doesn't seem to do the trick.

    Thanks much,
    Pseudo

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Prevent user from printing chart alone, without the rest of the worksheet

    There should be a way using VBA to set a print area and allow only that area to be printed.

    With any luck, a person conversant in VBA will be able to help you with this.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Prevent user from printing chart alone, without the rest of the worksheet

    Hi Pseudo312

    Welcome to the forum.

    Could your users be taught to click on a shape that says something like "Print" rather than their usual way of printing?

    If so, you could select the chart, record a macro that selects a cell, then prints.

    You can then insert a shape (any shape will do) and attach this macro to it.

    You will need to save the workbook as aaaaa.xlsm rather than aaaaa.xlsx and ensure that all computers that will be running this macro have the appropriate security level.

    Let me know if you need anything explaining.

    Regards
    Alastair

+ 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. [SOLVED] Prevent user from closing worksheet if cell is blank
    By maryren in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-15-2013, 12:11 PM
  2. Prevent user from typing on worksheet?
    By okriskao in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-12-2009, 04:09 PM
  3. Prevent user from renaming worksheet tabs
    By clayton in forum Excel General
    Replies: 3
    Last Post: 10-18-2006, 01:44 PM
  4. [SOLVED] Prevent user changing pivot chart layout
    By Jessica in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-14-2006, 07:30 PM
  5. [SOLVED] How to prevent user from printing in Excel?
    By C Wayne in forum Excel General
    Replies: 3
    Last Post: 06-14-2005, 04:10 AM

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