SaveCopyAs should be fine, I would think, but the ThisWorkbook.Save will fail. Try:
If Not ThisWorkbook.Readonly then ThisWorkbook.Save
SaveCopyAs should be fine, I would think, but the ThisWorkbook.Save will fail. Try:
If Not ThisWorkbook.Readonly then ThisWorkbook.Save
Everyone who confuses correlation and causation ends up dead.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks