+ Reply to Thread
Results 1 to 2 of 2

Copying Values but keeping rows that have formulas in them

  1. #1
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    Copying Values but keeping rows that have formulas in them

    I have a spreadsheet with a lot of financial information going down a column (about 500 rows down). Most of the cells are just typed in, but certain rows have sum formulas in them. Is it possible to copy values from another workbook, paste the values in, but somehow keep the formulas that are running through? Thanks.

  2. #2
    Forum Contributor
    Join Date
    10-19-2012
    Location
    Omaha, Nebraska USA
    MS-Off Ver
    Excel 2010
    Posts
    249

    Re: Copying Values but keeping rows that have formulas in them

    Hi Amartino,

    Below is some code that copies data from another workbook to a set of cells while retaining the formulas those cells may include. I have attached 2 workbooks, "PasteBook" and "CopyBook" as an example. To run the code, save the attached workbooks to the same folder, open "PasteBook", then hit "<CTRL> z" and it will copy over the cells in Column C while also retaining the formulas in that column. There are formulas in cells "C8", "C16" and "C22".

    Thanks,

    Daniel

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1