+ Reply to Thread
Results 1 to 2 of 2

vba help needed open workbook search date and lock colums from A to date column

  1. #1
    Registered User
    Join Date
    10-09-2012
    Location
    Mumbai,India
    MS-Off Ver
    Excel 2007
    Posts
    25

    vba help needed open workbook search date and lock colums from A to date column

    Hi,

    I need a vba code which will:
    1. open the listed workbook one by one as listed in column B with their respective path in column A.
    2. if the opened workbook is in sharing make it exclusive user and if the worksheet (listed in C column) is protected, unprotect the worksheet. password listed in D column.
    3. search Date mentioned in A1 column in opened workbook.
    4. lock all the cell columns from A:date column
    5. protect the worksheet again with the same password listed in D column.
    6. Make the workbook in multiuser.
    7. Save an close.

    I have attached the two workbooks for reff. 1. Protect.xlsm (code need to be written) 2. KPI1.xlsx (sample)
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-09-2012
    Location
    Mumbai,India
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: vba help needed open workbook search date and lock colums from A to date column

    can someone help me on this thread?? Please let me know if I am not clear....

+ 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. VBA to fully lock down the workbook after a specified date
    By Sean Gillan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-09-2015, 08:04 PM
  2. How to Lock Row and Column when date is passed
    By atulexel79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2015, 01:42 AM
  3. [SOLVED] Need column to lock after specified date
    By resqtk in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 10-10-2013, 04:50 PM
  4. Search for last Event and read out Date - HELP needed!!!
    By Christine78 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-03-2013, 03:36 PM
  5. Lock workbook after a defined date
    By Oeysbrei in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-26-2012, 04:37 PM
  6. Replies: 1
    Last Post: 09-28-2012, 08:52 AM
  7. [SOLVED] lock moth for a date column
    By ladyhawke in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-22-2006, 03:35 AM

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