Is there any code that will let you find and replace text within a pre-determined range that is inside a locked workbook / 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?
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"
Regards,Please Login or Register to view this content.
Simon
Thanks for your reply - I will try the code in my application.
Thanks again.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks