+ Reply to Thread
Results 1 to 5 of 5

it is possible to lock entire ROW

  1. #1
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    it is possible to lock entire ROW

    From

    Please Login or Register  to view this content.
    please let me know
    Last edited by baig123; 12-10-2014 at 02:18 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: it is possible to lock entire ROW

    Yep, use your macro recorder.
    Select all the cells and unlock them, then lock the cells you want locked and protect the sheet.

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: it is possible to lock entire ROW

    For Locking and unlocking, select the Range then right click. select the Format cells option from menu. Under the menu goto Protection Tab.

  4. #4
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is possible to lock entire ROW

    i am trying to used a VBA

  5. #5
    Registered User
    Join Date
    06-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: it is possible to lock entire ROW

    Sub ProtectTheSheet()
    Dim chCell As Range
    Dim chRng As Range

    'Clear the default status
    Cells.Locked = False

    'replace abcd with your password in all locations.

    ActiveSheet.Unprotect "abcd"
    'Applied only to column A
    Range("A:A").Locked = True
    ActiveSheet.Protect "abcd"

    End Sub

+ 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. Replies: 1
    Last Post: 07-28-2014, 05:18 PM
  2. detect any (entire) row selection in entire sheet and unprotect?
    By niceguy21 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2013, 01:05 PM
  3. Search an entire column for a value, return entire row.
    By jdsmith1895 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2012, 12:53 PM
  4. Replies: 0
    Last Post: 02-14-2012, 12:34 PM
  5. Search entire column, return entire row
    By Chris Gwynne in forum Excel General
    Replies: 0
    Last Post: 08-04-2011, 11:21 AM

Tags for this Thread

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