+ Reply to Thread
Results 1 to 6 of 6

How to lock an excel table based on a specific time duration using vb codes

  1. #1
    Registered User
    Join Date
    08-07-2014
    Location
    kolkata
    MS-Off Ver
    2007
    Posts
    5

    Post How to lock an excel table based on a specific time duration using vb codes

    How can I lock a table between 5th-15th of a month using vb codes? its very urgent guys plz help.

  2. #2
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: How to lock an excel table based on a specific time duration using vb codes

    write this code:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-13-2014
    Location
    Mozambique
    MS-Off Ver
    window 7 professional
    Posts
    4

    Re: How to lock an excel table based on a specific time duration using vb codes

    i just want to lock the cells contains formulas, and want to enter the data with locked formulas plz help me out as soon as possible

  4. #4
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: How to lock an excel table based on a specific time duration using vb codes

    1) select all cells on sheet (Ctrl+A)
    2) open "format cell" window (Ctrl+1)
    3) select tab "protection"
    4) uncheck "locked"
    5) Close window (OK)
    6) select cells with formulas
    7) open "format cell" window (Ctrl+1)
    8) select tab "protection"
    9) check "locked"
    10) Close window (OK)

    use my code

  5. #5
    Registered User
    Join Date
    08-13-2014
    Location
    Mozambique
    MS-Off Ver
    window 7 professional
    Posts
    4

    Re: How to lock an excel table based on a specific time duration using vb codes

    No its not protecting,,,,,,i just want to protect formula cells because same file others are also using and by mistake they delete formulas, for example, a1+b1=c1,,,i want others (my employs) to enter data in a1 and b1 and to protect c1 from them .......is it possible..???

  6. #6
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: How to lock an excel table based on a specific time duration using vb codes

    Yes it is possible if you will do what I wrote above
    22.xlsm

+ 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. [SOLVED] Calculate OVERTIME DURATION in specific time frame
    By Intalzky in forum Excel General
    Replies: 4
    Last Post: 02-10-2017, 05:18 PM
  2. [SOLVED] Lock a cell based on a specific criteria
    By distortthecode in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-29-2014, 08:44 AM
  3. Excel spreadsheet lock based on time and condition
    By coolanks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2008, 03:29 AM
  4. populating table based on codes
    By AmyTaylor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-22-2005, 09:52 AM
  5. [SOLVED] Excel time/duration spreadsheet
    By Brenda in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-22-2005, 11:06 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