Thread
:
protecting a sheet in a different workbook
View Single Post
#
2
Posted to microsoft.public.excel.programming
Don Guillett[_4_]
external usenet poster
Posts: 2,337
protecting a sheet in a different workbook
why not open the new dest wb firstopen the sourceunprotectcopy to dest wb
WITHOUT selectingprotect sourceclose sourcesave destination.
--
Don Guillett
SalesAid Software
"Dan Winterton" wrote in message
...
I have a protected worksheet that VBA unprotects, copies
the sheet, opens a new workbook, then pastes the data from
the sheet.
I need to re-protect the original workbook AFTER I am in
the new book? Can I protect a worksheet in another open
workbook?
I tried protecting the sheet before opening the new book,
but I lose the data I am trying to copy and the paste
event fails. I also tried just leaving the sheet
protected during the copy and paste, but it will not allow
the formulas to copy over, which I need.
Any help is greatly appreciated.
Dan Winterton
Reply With Quote
Don Guillett[_4_]
View Public Profile
Find all posts by Don Guillett[_4_]