+ Reply to Thread
Results 1 to 3 of 3

Protecting workbook Based on Dates.

  1. #1
    Registered User
    Join Date
    12-21-2009
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    5

    Protecting workbook Based on Dates.

    Good day to all,

    Please help me with this problem, I am trying to create excel accounting system from scratch. And I attached the sample file. The file is protected password is "a" without quotation mark.

    I want a macro that will protect column for "DEBIT,CREDIT and PARTICULAR" which are < the current date. My objective is to prevent user of the program to alter what they have done previously. the only thing open for data entry is the row which correspond to the current date. (Yesterday Locked, Tomorrow Locked).

    And of course even the three columns are open the "BALANCE" column is Locked.

    I hope it is possible since I have 6 sheets that need to be coded.

    If possible please run this macro every time the file is opened.

    Also to all user if you have accounting system can I have a copy so that I can learn, edit or pattern what I am doing.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Protecting workbook Based on Dates.

    For the future, please upload just a part of the Sheet that explains the problem.

    Next: Keep in mind that working with excel should be fun and intuitive.

    For the code you require:
    Please Login or Register  to view this content.
    This code can be called on activation.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,374

    Re: Protecting workbook Based on Dates.

    Keep in mind that working with excel should be fun and intuitive.
    ... really?!

+ 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