+ Reply to Thread
Results 1 to 2 of 2

How can I make my 'master' worksheet read-only whist allowing macro input.

  1. #1
    Registered User
    Join Date
    04-13-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    24

    How can I make my 'master' worksheet read-only whist allowing macro input.

    Hi,

    I have a worksheet which I would like to make read-only for user input. However I would like the sheet to allow input from my macros. Is this possible? I have tried to manually protect the sheet, but this stops the input from my macros.

    Any help on this subject would be great.

    Many thanks

    Alex

  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

    Re: How can I make my 'master' worksheet read-only whist allowing macro input.

    Good evening gilko86

    You could experiment with the UserInterfaceOnly flag with your protection, but I personally think that's not ideal.
    The easiest way is to code your macros so that they unprotect the sheet, make the changes and then reprotect the sheet.
    If you use Application.ScreenUpdating=False at the start of your macro, it is virtually undetectable to the user.

    HTH

    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