+ Reply to Thread
Results 1 to 2 of 2

Let user edit sheet, but no permission to download or copy

  1. #1
    Registered User
    Join Date
    04-21-2020
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    5

    Let user edit sheet, but no permission to download or copy

    Hi experts,

    I have the following use case:

    I have developed a fairly complicated model that does some calculations. I want users to be able to use this model, which means they must be able to input some data so they can see output specific to their situation.

    But I do not want them to be able to unhide sheets I have hidden, make a local copy of the workbook or download it as an Excel file. In other words, I want the inner workings of the model to remain secret and only expose its output, but this requires the user to be able to make some inputs. These inputs would be fairly limited - essentially adding some rows in a table.

    It appears as if there is no easy way to customise Google Sheets permissions to make this possible.

    Can it be done using custom scripts or is there any other workaround you can think of?

    Many thanks!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Let user edit sheet, but no permission to download or copy

    1) You can use VBA to hide your sheets, being sure to employ the VeryHidden option, meaning the sheets cannot be unhidden by hand, but only via VBA.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    2) You can protect your VBAproject with a password so no one can even see the names of the hidden sheets nor the code you have hidden in there for hiding/unhiding the code.

    3) You will also need code to disable the SAVE AS function. In the ThisWorkbook module:
    Please Login or Register  to view this content.
    4) Final caveat: as with all "locks", they only keep honest people honest. Any dishonest person with even a little bit of desire will be able to crack into your workbook any number of ways. Excel, like a padlock, is only mildly secure.


    Apologies, I just noticed this is an "Other platforms" forum question. Let me know if you want this answer deleted.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. how to copy edit permission from one sheet to another
    By akshay6s in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 10-25-2019, 12:13 AM
  2. Need your help in blocking user to edit sheet
    By BALA1983 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2017, 06:03 AM
  3. Provide permission to others to write, but not to edit in excel
    By NaveenNaveen2 in forum Excel General
    Replies: 6
    Last Post: 12-27-2014, 02:29 PM
  4. Replies: 0
    Last Post: 04-07-2014, 10:01 AM
  5. [SOLVED] Allow user to edit ranges on a protected sheet
    By aleenkhan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2012, 03:27 AM
  6. Edit range permission
    By hdbrandon in forum Excel General
    Replies: 0
    Last Post: 07-06-2011, 12:03 PM
  7. [SOLVED] Add Permission did not work in "Allow User to Edit Ranges"
    By hsinlin58 in forum Excel General
    Replies: 0
    Last Post: 05-22-2006, 10:15 AM

Tags for this Thread

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