I have a sheet within a workbook that I am 'copying' to a new worksbook and emailing.
At the moment I copy like this:
But, what I really want to be able to do is leave the formulas in there (to be visible to the recipient) but I really want not to send the code behind the sheet.
(The code is copying some data around teh cells and applying some conditional formatting to specific ranges so is in as a worksheet_change event and does work really well, but when this is emailed I no longer want that change functionality to work.
Any ideas chaps?
Ta.
Fee
Fee
"The cure for anything is salt water – sweat, tears, or the sea." Isak Dinesen
At the moment I copy like this:
Code:
With Destwb.Sheets(1).UsedRange
.Cells.Copy
.Cells.PasteSpecial xlPasteFormulas
.Cells(1).Select
End With
Application.CutCopyMode = False
(The code is copying some data around teh cells and applying some conditional formatting to specific ranges so is in as a worksheet_change event and does work really well, but when this is emailed I no longer want that change functionality to work.
Any ideas chaps?
Ta.
Fee
Fee
"The cure for anything is salt water – sweat, tears, or the sea." Isak Dinesen