+ Reply to Thread
Results 1 to 7 of 7

Copy and paste cell range continuously

  1. #1
    Registered User
    Join Date
    09-05-2011
    Location
    Ryther, England
    MS-Off Ver
    Office 365
    Posts
    63

    Copy and paste cell range continuously

    Hi guys

    I am looking for guidance on a copy and paste request.

    In cell range A1:A5 I have the following details:
    A
    1. Property No.
    2. Mtg Provider
    3. Mtg Payment
    4. Property value
    5. Outstanding mtg

    Then in cell range B1:B5 I want to be able to input the relevant info. Example:
    A B
    1. Property No. 1
    2. Mtg Provider Barclays
    3. Mtg Payment £300
    4. Property value £70000
    5. Outstanding mtg £35000

    Once this is complete I then want to be able to copy and paste the data to cell range D1:E5.

    Then I want to enter a new set of responses in range B1:B5 and copy the data again in range D6:E10 and so on.

    I hope this makes sense. I have attached a sample to illustrate my request.

    Your help and guidance would be much appreciated.

    Cheers

    Mac
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Copy and paste cell range continuously

    Should the macro put in the fresh data in column B after each copy paste is done?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    09-05-2011
    Location
    Ryther, England
    MS-Off Ver
    Office 365
    Posts
    63

    Re: Copy and paste cell range continuously

    Hi there

    No. The data in range B1:B5 needs to be manually input. So range A1:A5 would remain constant and data in B1:B5 would be input by the user.

    Regards

    Mac

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Copy and paste cell range continuously

    So the macro should be triggered each time the data is entered ?

  5. #5
    Registered User
    Join Date
    09-05-2011
    Location
    Ryther, England
    MS-Off Ver
    Office 365
    Posts
    63

    Re: Copy and paste cell range continuously

    Hi again

    Basically yes.

    In sequence it would look like this:

    User inputs into cell range B1:B5
    Run macro to copy range A1:B5
    User inputs into cell range B1:B5 again
    Run macro to copy range A1:B5 again
    Etc

    It may be useful for the macro to clear range B1:B5 after the copy and paste as well.

    Cheers

    Mac

  6. #6
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    860

    Re: Copy and paste cell range continuously

    In modulesheet 'Sheet2(sheet2).
    The code is running automatically when all the cells (B1:B5) are used.
    Please Login or Register  to view this content.
    Harry.

  7. #7
    Registered User
    Join Date
    09-05-2011
    Location
    Ryther, England
    MS-Off Ver
    Office 365
    Posts
    63

    Re: Copy and paste cell range continuously

    Hi there

    That's fab thank you

    Regards

    Mac

+ 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