+ Reply to Thread
Results 1 to 3 of 3

Excel VBA Code to Lock Data Cells after running the macro result

  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    14

    Excel VBA Code to Lock Data Cells after running the macro result

    I have got an worksheet where I process some data to get results in the sheet thru Excel VBA Macro (Button click()).
    After the Results are shown in the same worksheet, I wish the data should not get modified and protected till "Reset"
    the results as 0.
    I need the VBA code for locking the Data cells from d4:d8 (Data Cells). I am verymuch new to VBA for writing codes.

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Excel VBA Code to Lock Data Cells after running the macro result

    Try this:
    Please Login or Register  to view this content.
    Click on star (*) below if this helps

  3. #3
    Registered User
    Join Date
    09-07-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Excel VBA Code to Lock Data Cells after running the macro result

    Thank u for ur reply.
    I will try it.

+ 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