Updating Links in a Protected Sheets

G

Guest

I have a workbook with two sheets that are both protected. One of my macros
on the second sheet updates links to two other workbooks. When I try to run
this macro it won't work while the sheets are protected. I first tried
unlocking the cells in my worksheet that are linked to other workbooks and
that didn't work. The only solution I've found is to unprotect both sheets,
run the macro, and then re-protect them. Is there an easier way?

Thanks

Adam Bush
 
G

Guest

add in the macro a step which unprotects the sheet and then reprotects the
sheet.
I would be carefull so that others can not just look at the macro to see
your password
 
D

Dave Peterson

I don't think so.

I have a workbook with two sheets that are both protected. One of my macros
on the second sheet updates links to two other workbooks. When I try to run
this macro it won't work while the sheets are protected. I first tried
unlocking the cells in my worksheet that are linked to other workbooks and
that didn't work. The only solution I've found is to unprotect both sheets,
run the macro, and then re-protect them. Is there an easier way?

Thanks

Adam Bush
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top