+ Reply to Thread
Results 1 to 7 of 7

Copy Paste Macro Loop

  1. #1
    Registered User
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    5

    Copy Paste Macro Loop

    Hi,


    I have a financial model (attached) which calculates the final cash flows (in a calculation sheet named 9.Operations, rows 428 to 437) for a particular plot. However,the model has a list of 17 plots in the input sheet (3.Input-Plot Details). The macro must change the plot number in the 9.Operations sheet(cell G11), re-calculate the final cash flows and paste all the final cash flows for 1 to 17 plots in a single separate sheet consecutively.

    I am not a VBA expert.So, any help will be appreciated.

    Kind regards,
    Ritesh
    Last edited by RiteshChaturvedi; 12-20-2013 at 05:53 AM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Copy Paste Macro Loop

    Hi Ritesh

    There appears to be no File attached...
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Copy Paste Macro Loop

    Hello Jaslake,

    Apologies. I am new to this forum,and trying to navigate my way through.How do I attach the file? I cannot see any option to do so.

    Kind regards,
    Ritesh
    Last edited by RiteshChaturvedi; 12-19-2013 at 09:22 PM.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Copy Paste Macro Loop

    Hi Ritesh

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" worksheet that demonstrates what you wish the output to be.

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the "Add Files"... button to locate your file for uploading.
    6. This will open a new window File Upload...Click "Select Files"
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the "Upload Files" button and wait until the file has uploaded.
    10. Click the "Done" Button.

  5. #5
    Registered User
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Copy Paste Macro Loop

    Hello Jaslake,

    Thanks for the guidance.

    The file is attached. There is no code (I gave up after initial try). The output is needed in the sheet named 10.Cash Flows. Example cash flows for Plot 1000 are included. The macro should calculate the cash flows for all the 17 plots and paste them one after another.

    Kind regards,
    Ritesh
    Attached Files Attached Files
    Last edited by RiteshChaturvedi; 12-20-2013 at 06:32 AM.

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Copy Paste Macro Loop

    Hi Ritesh

    It's beyond mind numbing...and my abilities...

  7. #7
    Registered User
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Copy Paste Macro Loop

    Hello Jaslake,

    Thanks for trying it out. I appreciate your diligence.

    Kind regards,
    Ritesh

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Loop macro to find copy and paste value
    By PJLIGHT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2013, 03:21 PM
  2. Macro to Copy and Paste and loop
    By bwhite1986 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-16-2012, 10:19 AM
  3. [SOLVED] Copy/Paste Loop Macro
    By danderson2692 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2012, 08:01 AM
  4. Macro for calculate, copy, paste loop
    By stevenf in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2008, 12:05 PM
  5. Copy and Paste Loop-a macro
    By japorms in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2006, 04:07 PM

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