I'm new to visual basic so I would assume that this is fairly simple.
I need a macro that will unlock my current workbook (just the workbook, not the sheet), then move, copy, and paste values (only) the first two tabs to a new workbook. Then I need it to go back to the original workbook and re-lock it.
I was able to get the unprotect, move and copy to new sheet (still need the paste values bit), but when I use the ActiveWorkbook.protect function, it locks the new workbook. I need to new workbook unproteted and the old one to lock back.
I'm assuming I need to reference the file name in order to re-lock the workbook. How can I do that if my file name changes weekly?
Thank you -![]()
Please Login or Register to view this content.
Cliff
Bookmarks