+ Reply to Thread
Results 1 to 6 of 6

Macro for inserting a rows

  1. #1
    Registered User
    Join Date
    02-21-2017
    Location
    NY,NY
    MS-Off Ver
    2013
    Posts
    13

    Macro for inserting a rows

    I have a long list of unique cells and i'm looking for a way to insert 7-8 rows between each unique cell. any macros available that can accomplish this for me?

    Thanks,
    Dan

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Macro for inserting a rows

    Answer as sparse as the question

    Please Login or Register  to view this content.
    Replace 8 in
    Please Login or Register  to view this content.
    with the row number of the 2nd last row...

    Replace 8 in
    Please Login or Register  to view this content.
    with the number of rows to insert.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Macro for inserting a rows

    if the values are in column A
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-21-2017
    Location
    NY,NY
    MS-Off Ver
    2013
    Posts
    13

    Re: Macro for inserting a rows

    Say I use this script and I take the following list:
    a
    b
    c

    and turn it into:
    a


    b


    c

    How can I make it so that the rows I've inserted are the same as the unique above? meaning this:

    a
    a
    a
    a
    a
    b
    b
    b
    b
    b
    c
    c
    c
    c
    c

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Macro for inserting a rows

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    02-21-2017
    Location
    NY,NY
    MS-Off Ver
    2013
    Posts
    13

    Re: Macro for inserting a rows

    Quote Originally Posted by davsth View Post
    Please Login or Register  to view this content.
    When I use this script it duplicates only the first value and goes down the full column with that 1 duplicate

+ 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. Excel 2007 : Macro for inserting rows with formulas
    By Dopey1956 in forum Excel General
    Replies: 21
    Last Post: 03-01-2012, 02:19 PM
  2. Help with Macro for Inserting Rows
    By rain41 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2011, 12:56 AM
  3. [SOLVED] Inserting rows using Macro
    By benishiryo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-02-2011, 05:48 AM
  4. Macro-Inserting Rows
    By Brittney10 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2010, 01:04 PM
  5. Macro for inserting rows on a dataset
    By sunilwadhwa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2010, 03:08 AM
  6. inserting new rows using macro
    By momo123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2009, 09:12 PM
  7. Macro inserting rows
    By philmetz in forum Excel General
    Replies: 1
    Last Post: 08-11-2009, 02:52 AM
  8. Inserting rows with Macro
    By maacmaac in forum Excel General
    Replies: 1
    Last Post: 05-13-2005, 06:29 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