+ Reply to Thread
Results 1 to 3 of 3

Find & Replace in locked worksheet

  1. #1
    Forum Contributor
    Join Date
    11-23-2004
    Location
    Bristol
    MS-Off Ver
    2016
    Posts
    225

    Find & Replace in locked worksheet

    Is there any code that will let you find and replace text within a pre-determined range that is inside a locked workbook / worksheet?

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    In short No!, you will have to add some sheet.Protect/Unprotect to the find and replace code. The code below will unprotect all sheets find all the words inputted in the input box and replace them with the contents of the second input box and then reprotect the sheets with the password as "password"
    Please Login or Register  to view this content.
    Regards,
    Simon

  3. #3
    Forum Contributor
    Join Date
    11-23-2004
    Location
    Bristol
    MS-Off Ver
    2016
    Posts
    225

    Search

    Thanks for your reply - I will try the code in my application.

    Thanks again.

+ 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