Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2007

Tip: Looking for answers? Try searching our database.

Copy just the values

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jaz - 13 Mar 2007 22:13 GMT
I have a excel spreadsheet that has a formula for each cell.  Is there a way
to copy just the results and past them into a new worksheet?  That way, it
doesn't have to reference and formulas or workbooks?

Thanks,
Jasper
Ron de Bruin - 13 Mar 2007 22:31 GMT
Hi Jaz

Worksheet or workbook ?

You can copy for example the activesheet in a new workbook and change the formulas to values

Manual
Copy the cells and use Edit>PasteSpecial...values on the new sheet

Or with code

   Dim Destwb As Workbook

   ActiveSheet.Copy
   Set Destwb = ActiveWorkbook

   'Change all cells in the worksheet to values
   With Destwb.Sheets(1).UsedRange
       .Cells.Copy
       .Cells.PasteSpecial xlPasteValues
       .Cells(1).Select
   End With
   Application.CutCopyMode = False

Signature

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm

>I have a excel spreadsheet that has a formula for each cell.  Is there a way
> to copy just the results and past them into a new worksheet?  That way, it
> doesn't have to reference and formulas or workbooks?
>
> Thanks,
> Jasper
Jaz - 14 Mar 2007 22:28 GMT
THANKS!!!
> Hi Jaz
>
[quoted text clipped - 26 lines]
> > Thanks,
> > Jasper
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.