+ Reply to Thread
Results 1 to 3 of 3

Unlocking & Locking multiple workbooks.

  1. #1
    Forum Contributor
    Join Date
    09-22-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 2019
    Posts
    310

    Unlocking & Locking multiple workbooks.

    Thanks to the wonders of this site I have a code that looks through a selection of workbooks (held in a list in Column AZ) and returns data from selected cells in each to specific places in the Master workbook.

    As the workbooks are initially protected with the code
    Please Login or Register  to view this content.
    to stop anyone going in and changing data, I need to be able to unlock, collect the data and then lock each as they are called up.

    Question is, what needs to be added to the code below and where to achieve the unlock and lock please??

    Please Login or Register  to view this content.
    Many thanks in advance

    Frankie

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Unlocking & Locking multiple workbooks.

    I presume you have the PW's for these other files?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    09-22-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 2019
    Posts
    310

    Re: Unlocking & Locking multiple workbooks.

    Hi FDibbins. Yes, the Password is the same for each workbook as they are all relating to the same Master data.

+ 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. Locking and unlocking of cells
    By srinivassurapareddi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2012, 02:19 AM
  2. locking or unlocking with macro
    By allgeef in forum Excel General
    Replies: 3
    Last Post: 04-03-2011, 09:44 PM
  3. Locking and Unlocking Cells
    By vikas.bhandari in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2010, 10:27 AM
  4. VB for locking and unlocking selected cell
    By cwwaicw311 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2010, 04:14 AM
  5. Locking an Unlocking Fields
    By jjones1551@gmail.com in forum Excel General
    Replies: 2
    Last Post: 12-04-2008, 08:06 PM
  6. Locking and Unlocking Excel workbooks
    By KarmaPolice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2007, 07:05 PM
  7. locking and unlocking worksheets
    By aci1984 in forum Excel General
    Replies: 2
    Last Post: 06-18-2007, 12:01 PM
  8. locking and unlocking cells in a macro (multiple pages)
    By Simon Lloyd in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-09-2005, 06:39 PM

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