+ Reply to Thread
Results 1 to 3 of 3

Disabling Printing ability of a sheet unless printing from a macro

  1. #1
    Forum Contributor
    Join Date
    10-18-2010
    Location
    Walla Walla, Washington
    MS-Off Ver
    Excel 2007
    Posts
    121

    Disabling Printing ability of a sheet unless printing from a macro

    I want to remove the option for an employee to print using the Excel installed printing options (without uninstalling printers). I was hoping there was an option to disable printing in the "protect sheet" drop down but didn't see one. I have already set in place an option for the employees to click Ctrl+Shift+P to run a macro listing sheets in the workbook that are allowed to be printed. Then, once the employee selects the sheet from the check box, the item prints to a PDF. I don't want this disabled. I want this to be the only way to print. I'm feeling like you cant have one without the other. I keep trying to throw you guys a curve ball but I can't stump you! Thanks for any help.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    32,364

    Re: Disabling Printing ability of a sheet unless printing from a macro

    Use the BeforePrint event. Here's an example:

    http://msdn.microsoft.com/en-us/libr...s.80).aspx#Y65


    Regards, TMS
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202

    Re: Disabling Printing ability of a sheet unless printing from a macro

    They can print it any way they like if they don't enable macros.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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