+ Reply to Thread
Results 1 to 3 of 3

VBA code to lock range based on non blank cell

  1. #1
    Registered User
    Join Date
    09-18-2012
    Location
    Dushanbe,Tajikistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Exclamation VBA code to lock range based on non blank cell

    Dear Friends,

    I need a VBA code to lock non blank cells.

    I have from range A1 till AH10000 data. I want VBA code that will find the last non blank cell in Column A (let's say this is cell A521) and lock range from A1 till AH521 and the rest range A522 till AH10000 keep unlock.

    Thank you!

  2. #2
    Forum Contributor
    Join Date
    12-31-2012
    Location
    Jhang, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: VBA code to lock range based on non blank cell

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-18-2012
    Location
    Dushanbe,Tajikistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Wink Re: VBA code to lock range based on non blank cell

    Thank you so much.

    It really works

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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