+ Reply to Thread
Results 1 to 8 of 8

Disabling users ability to change print settings

  1. #1
    Registered User
    Join Date
    06-19-2011
    Location
    blackpool, england
    MS-Off Ver
    Excel 2007
    Posts
    19

    Disabling users ability to change print settings

    I'm more interested in print area settings.

    I've forgotten what it was called in older versions and these new stupid versions with ribbon don't help finding out.

    I think it's called page breaks?

    I want to be able to set the page breaks and then have it so that noone can change it afterwards. Is there a macro for it?

  2. #2
    Registered User
    Join Date
    06-19-2011
    Location
    blackpool, england
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Disabling users ability to change print settings

    If there is a fix to stop all page sets up type functions, I'll settle for that

  3. #3
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Disabling users ability to change print settings

    Do you want to control the print area? If so add the following to the "thisWorkbook" module:
    Please Login or Register  to view this content.
    where the print area should be whatever area you want it to be.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  4. #4
    Registered User
    Join Date
    06-19-2011
    Location
    blackpool, england
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Disabling users ability to change print settings

    That's fine if the situation is setting print area..

    Let me try explain it better.

    I set the print area, one worksheet prints 3 pages, each page a different amount of rows.

    My problem arises mainly because I set the print for A3, this worksheet should only ever be printed in A3 and how I've set it out. Someone, and noone is willing to be honest it's them, keeps trying to print it out in A4 and it messes everything up, worse still they save it so the next time someone tries to print it, it prints on 6 A4 pages rather than 3 A3's.

  5. #5
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Disabling users ability to change print settings

    It may be best if you upload a workbook.

  6. #6
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Disabling users ability to change print settings

    As I see it, Mordred's point in post #3 is to let users change the print settings all they want to. But everytime that Print is called, reset the settings to what you want.
    It doesn't disable the users ability to change things, just makes the changes irrelevant.

    The advantage of that approach is that it is a Workbook specific approach.
    On the other hand, disabling capabilites usually effects the whole application and restricting it to your particular workbook is problematic.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  7. #7
    Registered User
    Join Date
    06-19-2011
    Location
    blackpool, england
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Disabling users ability to change print settings

    Thanks, but I want solutions, not problems, lol

  8. #8
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Disabling users ability to change print settings

    Quote Originally Posted by Djarn View Post
    My problem arises mainly because I set the print for A3
    Do you want to print out all worksheets and their A3 ranges? If you do, I'm not quite sure how to do that but if it is a particular sheet you want printed than set the Ws to the sheet name and the printed area to A3. It seems odd that you would want to only print a cell though, is that correct?

    Please Login or Register  to view this content.

+ 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