+ Reply to Thread
Results 1 to 7 of 7

Allow users to write in a protected cell

  1. #1
    Registered User
    Join Date
    12-07-2011
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Allow users to write in a protected cell

    Hi. My ambition in Excel often surpasses my competence...

    I am writing an Excel sheet for others to use. I am using a cell as an input box such that entering a number will generate a pre-written statement into an adjacent cell. The sheet is protected to guard against user error and the statements are collated on a separate sheet. Sometimes users will need the flexibility to write their own statement into the cell rather than relying on the text provided. Is there a way to do this without removing the sheet's protection? TIA

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,924

    Re: Allow users to write in a protected cell

    If you are using a formula to generate a pre-written statement, allowing a user to enter their own statement would overwrite that formula. To allow that to happen, you would have to unlock that cell (not unprotect the sheet).
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-07-2011
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Allow users to write in a protected cell

    Thank you. Is there a way to override the formula without the user needing to go to the formula bar and delete it? I wondered whether I could include a 'free text' option along with the statements? E.g. if the user writes a '9' in the input cell currently it inputs statement 9 but where, if they input a '50' (or an 'a'), the formula would allow them to write their own statement in the cell.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,924

    Re: Allow users to write in a protected cell

    You can either have a formula in a cell or a text value. If you allow the user to type in the cell, it will overwrite the formula. This is permanent and can only be undone by re-entering the formula. You don't need to delete the formula before typing in the cell. But the outcome is the same . . . text and no formula. Even with an option 9, you would need to overwrite the formula.

  5. #5
    Registered User
    Join Date
    12-07-2011
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Allow users to write in a protected cell

    Thank you for your answer. If nothing else, I won't spend another few hours trying to achieve the impossible!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,924

    Re: Allow users to write in a protected cell

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,924

    Re: Allow users to write in a protected cell

    Are you still using Excel 2003? If you have moved on, please update your profile.

+ 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. Can multi users write data into a same WB using SQL
    By lubbamkt in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-10-2016, 06:54 AM
  2. let me know that i can write macro for user popup for number of users
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-10-2014, 05:10 PM
  3. How to allow users to copy protected sheet?
    By erkamu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-14-2014, 04:48 PM
  4. Network users somehow opening write copy of .xltm template
    By bindibadgi in forum Excel General
    Replies: 2
    Last Post: 02-06-2014, 05:22 PM
  5. Allow Macro to Write into Protected Cell
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-19-2011, 10:24 AM
  6. Replies: 2
    Last Post: 11-30-2009, 02:44 PM
  7. Please write myself and other users a simple macro
    By diy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2008, 12:15 AM

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