+ Reply to Thread
Results 1 to 2 of 2

Query Related To enable edit but deceble delete

  1. #1
    Registered User
    Join Date
    01-04-2019
    Location
    India
    MS-Off Ver
    windows 10
    Posts
    1

    Question Query Related To enable edit but deceble delete

    Hi All,

    I am preparing a excel sheet for inventory management where i want to give edit rights to selected columns to the users but once the user entered the data they do not have the right to delete, or edit it. I am trying this useing VBA but not able to protect all the things.

    I have tried to restrict the delete button, backspace button and double click in excel sheet but individually, when i am try to combine all these i cant able to do it and after repon the sheet the protection not showing.

    If anyone can help me how to include this in excel and what should be the comment in VBA it will be really helpful...

    Regards
    Soumydarshi

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Query Related To enable edit but deceble delete

    If you really want to limit what a person can do, use user forms to "isolate" them from the sheet.

    Create the sheet and then protect it. Let the person select the cell to edit. Then either click a button or use a shortcut key to launch the form. If the user selects a cell in a column that is not valid, pop up an error message and do not launch the form.

    Then check to see if the person has already edited the record on this row by checking a helper column added for this purpose.

    If both of those conditions pass, then populate the form with appropriate information and have the user fill in the information on the form. On commit, unprotect the sheet, write the data and reprotect the sheet. Also put something (user ID) in the helper column to indicate that the record has already been edited.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. enable edit and save of a shared excel file
    By legolas in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-25-2015, 07:56 PM
  2. Protect Formulas but Enable Edit Links
    By MarcLiq in forum Excel General
    Replies: 3
    Last Post: 04-19-2010, 02:28 PM
  3. Query related to SUM IF function
    By prsahu in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-23-2008, 02:39 AM
  4. To enable Redo edit button from vc++
    By Anandi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-15-2008, 05:23 AM
  5. Duplicate Post - How To Enable Edit Macros Feature
    By Jimboots in forum Excel General
    Replies: 2
    Last Post: 12-15-2006, 11:34 PM
  6. Edit Query from Excel will not open query in MSQuery
    By Michelle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2005, 12:06 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