+ Reply to Thread
Results 1 to 7 of 7

Disable Print for the set of worksheets.

  1. #1
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Disable Print for the set of worksheets.

    Hi
    Is there any chance to cancel print for set of worksheets? For example in workbook with Sheet1 to Sheet4, i wish to allow printing only for sheet4 and all other sheets to disable print.

    Thanks.
    Last edited by muralidaran; 05-16-2014 at 03:53 AM. Reason: Answered by expert....
    Thanks & Regards
    Muralidaran.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Disable Print for the set of worksheets.

    Hi, muralidaran,

    if you want to disable the individual print of worksheets you may try this code in ThisWorkbook:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Disable Print for the set of worksheets.

    Hi Mr. HaHoBe
    Thanks for the code but i was looking code to prevent printing some set of sheets (Multiple sheets).
    Thanks.

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Disable Print for the set of worksheets.

    Hi, muralidaran,

    maybe have a look at this code:
    Please Login or Register  to view this content.
    Ciao,
    Holger

  5. #5
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Disable Print for the set of worksheets.

    Hi Mr. Hahobe
    Thanks but from the beginning of my request is to prevent some set of sheets from printing.
    something like below but no luck....

    Please Login or Register  to view this content.

  6. #6
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Disable Print for the set of worksheets.

    Hi, muralidaran,

    maybe something like this (although Sheet4 from the opening post is missing in your last code):
    Please Login or Register  to view this content.
    Ciao,
    Holger

  7. #7
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Disable Print for the set of worksheets.

    Hi Mr. Hahobe
    Thanks a lot that worked fine....

+ 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. Disable Print Screen
    By dwint in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-24-2013, 03:03 PM
  2. Disable Print button in Full Print Preview
    By RaquelAR in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2013, 02:03 PM
  3. Disable Print
    By Stevedarby02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-29-2008, 11:33 AM
  4. disable printer so worksheets CAN'T print accidentally???
    By Deb-in-Wisconsin in forum Excel General
    Replies: 2
    Last Post: 08-19-2006, 02:20 PM
  5. [SOLVED] disable print
    By Walter P in forum Excel General
    Replies: 6
    Last Post: 07-20-2006, 03:12 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