+ Reply to Thread
Results 1 to 3 of 3

Copy a range of generic cells.

  1. #1
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Thumbs up Copy a range of generic cells.

    Hi all, I will give you the code first and then the problem.

    Please Login or Register  to view this content.
    The problem I'm having is I need to copy the last 24 months of data. I can run a Do While Loop to run from 24 months ago until now but with just short of 1000 cells to copy, the loop not only takes a while, but I feel like I might have a siezure watching the copy and paste process. Is there a way to select all the cells at once, from the last cell in the row to the cell at position -24?

    If more is needed, I'll try to accommodate.

    Thank you.
    Last edited by Mordred; 07-20-2010 at 02:02 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy a range of generic cells.

    To grab all cells at once:
    Please Login or Register  to view this content.


    To reduce risk of siezures:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Copy a range of generic cells.

    Thank you JBeaucaire, it worked like a charm. And thank you for reducing my risk of siezure

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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