+ Reply to Thread
Results 1 to 5 of 5

Use UserForm on Protected Sheet

  1. #1
    Registered User
    Join Date
    02-22-2019
    Location
    Michigan, USA
    MS-Off Ver
    MS 2010
    Posts
    49

    Use UserForm on Protected Sheet

    Hello all,

    I have been trying unsuccessfully to protect the worksheet and only allow users to add data through the userform. I have tried using this code on the userform to no avail.

    Please Login or Register  to view this content.
    I have tried putting this code in the workbook and didnt get anything

    Please Login or Register  to view this content.
    Any help much appreciated

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Use UserForm on Protected Sheet

    What isn't working?

    Are you unable to read/write data from/to the protected worksheet?

    How/where/when are you running the code you posted?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    02-22-2019
    Location
    Michigan, USA
    MS-Off Ver
    MS 2010
    Posts
    49

    Re: Use UserForm on Protected Sheet

    I am still able to type in the worksheet I want to protect.

    I used the top code like this:

    Please Login or Register  to view this content.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Use UserForm on Protected Sheet

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    02-22-2019
    Location
    Michigan, USA
    MS-Off Ver
    MS 2010
    Posts
    49

    Re: Use UserForm on Protected Sheet

    I figured it out. I was placing the code in the wrong sections

+ 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. [SOLVED] Show sheet when userform is shown hide Sheet when userform is closed
    By CtrlAltDelete in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-25-2014, 04:41 PM
  2. Replies: 5
    Last Post: 07-28-2014, 06:35 PM
  3. vba changing sheet tab color when it was protected/not protected
    By mcmunoz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-17-2013, 05:39 AM
  4. [SOLVED] Copy protected sheet to a NEW workbook that is not protected
    By lsteinbach in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2012, 11:50 AM
  5. [SOLVED] Problem with making protected datat entry form with radiobuttons
    By supern0va in forum Excel General
    Replies: 10
    Last Post: 05-23-2012, 05:08 AM
  6. Delete rows in a protected sheet with protected cells
    By Maranwe in forum Excel General
    Replies: 7
    Last Post: 10-31-2011, 08:12 AM
  7. Protected Sheet not protected from Copy Paste
    By twistedsymphony in forum Excel General
    Replies: 4
    Last Post: 04-19-2010, 05:37 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