with worksheets("somename")
.usedrange.copy
.cells(1,1).pastespecial Paste:=PasteValuesAndNumberFormats
end with
Does anyone have example code on how to copy and paste an entire worksheet (or even workbook) as value?
Basically, I want to provide a button to the user that will take all the formula results on the sheet and "make them static" such that the formulas are never recalculated (basically what copy/paste as value does).
Thanks!
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+unsubscribe@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at http://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+unsubscribe@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at http://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/groups/opt_out.