+ Reply to Thread
Results 1 to 2 of 2

Sheet Code on protected Sheet

  1. #1
    Forum Contributor
    Join Date
    05-14-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    155

    Sheet Code on protected Sheet

    Dear Moderators,
    I am facing a problem with protected sheet. in the sheet i wrote some code based on a cell. when i am chachin the cell value it works properly. but when i am protecting that sheet it not works.
    i hide and lock all cell except entry cell
    but the code effect on other cells those are hide & lock (i did it to prevent my formulas)
    is there any way that my code should work properly and no one can view the formulas also.

    Please look into the matter and help me as early as possible.

    Regards,

    Rajeev Kumar
    Rajeev Kumar

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Sheet Code on protected Sheet

    Simplest way is to change protection status within the code

    Please Login or Register  to view this content.
    If the sheet has a password then you need to include it in the code

    Please Login or Register  to view this content.
    "password"
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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