+ Reply to Thread
Results 1 to 11 of 11

Copy and Paste Ranges

  1. #1
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Copy and Paste Ranges

    Hello,

    Does anyone know of a macro that will copy from 'Random Stats'! and paste to the 2015, 2016, 2017, or 2018 Stats sheets with these ranges:

    B6:E105
    I6:J105
    L6:M105
    O6:P105
    R6:S105
    U6:Y105

    Thank you very much for your help,
    XJ

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy and Paste Ranges

    Since the yellow columns with formulae are consistent with the formulae on the Random Stats sheet whi not just copy the whole of B6:AA105) and paste to B6 on all the four annual sheets?

    Why do you need to copy those particular columns disjointed columns?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Copy and Paste Ranges

    I want to avoid the random parts so the data will be fixed in the 2015-2018 sheets.
    Last edited by xjohnson; 12-10-2018 at 05:15 PM.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy and Paste Ranges

    Hi

    Try this macro
    Please Login or Register  to view this content.

  5. #5
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Copy and Paste Ranges

    Thank you Richard but I don't want the formulas to paste just the values please.

    Is it possible?

  6. #6
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Copy and Paste Ranges

    Perhaps there needs to one macro specific to each year sheet?

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy and Paste Ranges

    Quote Originally Posted by xjohnson View Post
    Thank you Richard but I don't want the formulas to paste just the values please.

    Is it possible?
    Change to
    Please Login or Register  to view this content.

  8. #8
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Copy and Paste Ranges

    Thank you that works!. One more small request please. It is leaving the columns U to V on the Random Stats sheet in copy mode. Can that be corrected?

    I will be back in 45 minutes thank you,
    XJ

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy and Paste Ranges

    Yes just conclude the macro with

    Please Login or Register  to view this content.
    It will speed up if you also make the first line

    Please Login or Register  to view this content.
    and the last line

    Please Login or Register  to view this content.

  10. #10
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Copy and Paste Ranges

    I thank you so much for your help. The year sheets remain in paste mode on the U to Y columns now but it's okay I guess.

    Please Login or Register  to view this content.

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy and Paste Ranges

    My pleasure and thanks for the rep.

+ 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. [SOLVED] Code to Copy and Paste 2 Different ranges
    By kwesmc1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-18-2017, 04:39 PM
  2. [SOLVED] VBA Copy and Paste with an Input Page to specify copy ranges to new table
    By ExcelNoob243 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2015, 04:52 AM
  3. [SOLVED] How to copy and paste Macro with different ranges?
    By SMIengineering in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-23-2015, 01:55 PM
  4. [SOLVED] Copy and paste adjacent ranges below each other
    By kieran17 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-13-2014, 12:21 PM
  5. Copy Ranges and Paste Help Please
    By EvoLancer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2013, 01:14 PM
  6. [SOLVED] Using Last Row To Copy and Paste Certain Ranges
    By aferoz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-12-2012, 10:29 AM
  7. Copy and Paste Ranges As Array From One WB to Another
    By jasono in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2011, 05:18 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