+ Reply to Thread
Results 1 to 5 of 5

Macro to paste formulas then paste values

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Macro to paste formulas then paste values

    Hey everyone,

    I need a macro that will copy a row of formulas (at the top of my spreadsheet) down to the rows beneath, will then do the calculations and then copy and paste those formulas as values (the top row must obviously stay as formulas). The reason I want to do this is because the formulas contain dynamic ranges and are slowing down the model. Pasting them as values solves the speed problem but then the model itself becomes static.

    Thank you for the help!

  2. #2
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: Macro to paste formulas then paste values

    Send me an example file with expected output in it, so that I can make sure about your request since your above explanation is making some confusion....

    Abdul

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Macro to paste formulas then paste values

    Hi Abdul,

    I have attached an example model that will explain what I need. So the macro will copy the formulas from the blue block into the purple block, once its done the calculations, the purple block must be copied and pasted as values over itself.

    hope this clarifies my problem.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: Macro to paste formulas then paste values

    Use this file....
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-13-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Macro to paste formulas then paste values

    That doesn't seem to work. All the macro does is copy one array to other as values. However i managed to record a macro that does what i need. Thank you for the help.

+ 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