Sign up, and CougarBoard will remember which categories you want to view. Sign up
Jan 26, 2015
4:08:44pm
Excel Question
I'm simply trying to take a worksheet out of a workbook and save it into a new workbook; but the contents in the workbook should be value-only. (The original workbook is cluttered with formulas).

This code works for me, but it copies over the original cells as value-only before it saves to the new workbook. Looking for ideas to preserve the formulas in the original workbook.

Worksheets("Input").Copy
With ActiveSheet.UsedRange
.Value = .Value
End With
Set wbNew = ActiveWorkbook
wbNew.SaveAs "C:\Users\dholmoe\desktop"
wbNew.Close True
This message has been modified
Originally posted on Jan 26, 2015 at 4:08:44pm
Message modified by snowbird on Jan 26, 2015 at 4:09:30pm
Message modified by snowbird on Jan 26, 2015 at 4:09:45pm
Message modified by snowbird on Jan 26, 2015 at 4:10:12pm
snowbird
Bio page
snowbird
Joined
Nov 1, 2008
Last login
Apr 28, 2024
Total posts
18,146 (971 FO)