+ Reply to Thread
Results 1 to 3 of 3

Faster Way To Repeat Values Multiple Times

  1. #1
    Registered User
    Join Date
    11-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    2

    Faster Way To Repeat Values Multiple Times

    Hey,

    I've got a list of about 62,000 values and I need to copy and add them to a row beneath. This needs to be done 15 times for each value.

    I've achieved this with the code below, but at a rough estimation it will take about 8 or 9 hours to complete. I'm just wondering if there is a quicker and more efficient way to do it by any chance?

    Please Login or Register  to view this content.
    Thanks for the help!

    Josh.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Faster Way To Repeat Values Multiple Times

    This should be faster.

    If you don't require the formula in the inserted rows, the bolded line of code inserts the value instead of the formula. Otherwise, delete it and uncomment the formula line.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    11-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Faster Way To Repeat Values Multiple Times

    That seemed to do the trick. Thanks man, it's very much appreciated

+ 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] To repeat row values, a specified number of times
    By ramananhrm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-09-2014, 11:30 AM
  2. [SOLVED] Find result what is times of value of repeat for same repeated values
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-06-2013, 10:48 AM
  3. [SOLVED] Faster way to find and replace multiple values with corresponding values
    By babbeleme1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-18-2013, 06:50 PM
  4. Insert Values multiple times
    By dogguy2010 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2012, 12:40 PM
  5. Need macro help with transposing columns to rows and repeat a row value multiple times
    By InnovativeAJ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2012, 11:53 AM

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