+ Reply to Thread
Results 1 to 4 of 4

Help Protecting a Database

  1. #1
    Registered User
    Join Date
    05-12-2005
    Posts
    6

    Help Protecting a Database

    Hi All,

    I have just created a Userform and was wondering is it possible to protect the worksheet/sheet so that the data can only be changed when the Userform is used?

    I tried protecting the sheet but when i went to use the userform the data could not be entered ...

    If anyone could help that would be appreciated!

    Cheers

    JC

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon JChan

    The only way I can think of doing this is to have the sheet protected, and the code behind the userform (in say Userform_Activate()) is set to unprotect the sheets once the userform opens, update the cells, reprotect the sheets and then close.

    It's messy I know, but I think it's the only way.

    HTH

    DominicB

  3. #3
    Registered User
    Join Date
    05-12-2005
    Posts
    6
    Hi DominicB,

    i'll give it a go ... Cheers!

    JChan

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Hi JChan

    No problem - thanks for the feedback.

    DominicB

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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