Need macro to copy active sheet to a new workbook

B

Bill_S

My workbook is protected so the user is prevented from adding/delete sheets.
I need a macro that:

-unprotects the workbook
-copies the active sheet (as values) to a new workbook*
-reprotects the workbook
-activates the new workbook

*The reason I want the entire sheet copied and not just all cells, is
because the exact cell formatting and print formatting needs to be preserved
in the new workbook.
 
D

Don Guillett

The macro recorder is your friend. Try it and then post back for comments to
improve.
 

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