Need to copy calculated field.

kujito

Registered User.
Local time
Today, 16:04
Joined
Feb 11, 2009
Messages
15
I need to copy the calculated values in a column and paste them into a different workbook and/or sheet. Is there a way to copy the values but not the formulae, or similarly avoid the #REF! error? :confused: All I need are the values. How they came about is immaterial.
TIA
 
Instead of pasting, use Edit/Paste Special and choose values.
 
Following on from this, is there any way in vba to paste both the values and formats of a given range? I know
Code:
Selection.PasteSpecial Paste:=xlPasteValues
followed by
Code:
Selection.PasteSpecial Paste:=xlPasteFormats
would achieve the same result, but is it possible to do it all in one go?

Thanks in advance!
 
Not that I'm aware of, but I'm not strong in Excel VBA. You may want to start a new thread on it.
 
AFAIK you can't I have two lines the same as you when i need to do this.
 

Users who are viewing this thread

Back
Top Bottom