+ Reply to Thread
Results 1 to 2 of 2

Need help in locking cells through VB

Hybrid View

  1. #1
    Registered User
    Join Date
    04-19-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    49

    Talking Need help in locking cells through VB

    Hi,

    I am trying to lock the cells in Column A4 when typed NO and the cells B:E has to get blocked for updates and if the answer is YES then the cells have to be unlocked for the updates.

    I do not want to protect the sheet as there will be updates done on the other columns in the spreadsheet.

    I tried with one of the VB code seen but not able to execute which is through Option Explicit.

    The code is available in the spreadsheet under Sheet1.
    Please help me on this.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-19-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Need help in locking cells through VB

    Hi,

    I actually need the VB to function if the cell A4 is <0.5 then the cells have to be blocked from B4:E4 else it should remaini open for the updates.

+ 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