how do i copy protected spreadsheet in a macro

R

R Davis

I need to copy and paste the values of a password protected worksheet via a
macro. The macro shuts down because of the protection. Is there a way
around this?
 
D

Dave Peterson

If you know the password, then include the code to unprotect the worksheet, do
the work and reprotect the worksheet.
 

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