+ Reply to Thread
Results 1 to 4 of 4

Restricting edition of password protected sheets

  1. #1
    Registered User
    Join Date
    12-31-2012
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    58

    Restricting edition of password protected sheets

    I am using a password-protected sheet where people are supposed to insert values in a number of cells. Neverthelles, it is still possible to do two things I would like to block:
    • copy and paste values from other files' cells;
    • in cells, where format is restricted to whole number, people can still use hh:mm:ss format.

    How can I set it up?

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    5,556

    Re: Restricting edition of password protected sheets

    .
    https://www.extendoffice.com/documen...opy-paste.html

  3. #3
    Registered User
    Join Date
    12-31-2012
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    58

    Re: Restricting edition of password protected sheets

    Thanks, it's good. Is it possible to modify so that copying and pasting is possible within that single file, but not from external sources?

    EDIT: somewhat solved, used the below code - blocks pasting data into column A:

    Please Login or Register  to view this content.
    Last edited by buhaj47; 08-08-2018 at 06:18 AM.

  4. #4
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Restricting edition of password protected sheets

    Just a heads up that any code you use to try and prevent actions like this can be easily circumvented by users. They can simply open the file with events disabled (Hold shift while opening the file (double click) until it opens). They could open Excel and just disable macros.

    Sheet protection in Excel is meant to prevent mistakes, not to act as a security feature.
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

+ 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. Splash Page With Username and/or Password Protected Sheets
    By Gtrtim112 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-13-2017, 06:42 PM
  2. [SOLVED] How to password protected all sheets at once
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2014, 02:16 AM
  3. Crack password on protected sheets
    By DaGoose in forum Excel General
    Replies: 1
    Last Post: 02-21-2014, 06:19 AM
  4. [SOLVED] Ran Macro that Password Protected Sheets, Now won't Unprotect
    By pjdumont in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-06-2013, 02:17 AM
  5. [SOLVED] Can a macro for multiple worksheets enter a password for protected sheets
    By missmea2005 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-18-2012, 08:12 AM
  6. references to password protected sheets
    By przemke in forum Excel General
    Replies: 4
    Last Post: 08-12-2009, 03:50 AM
  7. Pasting into password protected sheets.
    By adotsey in forum Excel General
    Replies: 1
    Last Post: 04-24-2007, 03:02 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