+ Reply to Thread
Results 1 to 8 of 8

Macro to insert 3 rows after the last item in each row

  1. #1
    Spammer
    Join Date
    08-20-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    221

    Macro to insert 3 rows after the last item in each row

    I have tried to write code to insert 3 blank rows after each item in Col A, but it inserts 3 rows at the 1st rows

    It would be appreciated if someone could kindly assist me



    Please Login or Register  to view this content.

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Macro to insert 3 rows after the last item in each row

    Hi flupsie
    maybe so
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,526

    Re: Macro to insert 3 rows after the last item in each row

    Is this what you mean? At a change of Values?
    Or at every Row?
    Please Login or Register  to view this content.
    nilem is just a little faster.

  4. #4
    Forum Contributor
    Join Date
    02-12-2018
    Location
    TX
    MS-Off Ver
    MS Office 2019
    Posts
    305

    Re: Macro to insert 3 rows after the last item in each row

    My two cents...some variation of the below...but maybe not quite that because I'm a vba noob. Only making that suggestion because i think it's working on my end. So similar, but different maybe? This is what boredom looks like. Good Luck.
    Please Login or Register  to view this content.

  5. #5
    Spammer
    Join Date
    08-20-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    221

    Re: Macro to insert 3 rows after the last item in each row

    Thanks Nilem. Code works perfectly

  6. #6
    Spammer
    Join Date
    08-20-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    221

    Re: Macro to insert 3 rows after the last item in each row

    Hi Jolivanes. Code works perfectly

  7. #7
    Spammer
    Join Date
    08-20-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    221

    Re: Macro to insert 3 rows after the last item in each row

    Hi Jim

    Thanks for your code

    You code went into a loop as it is trying to insert rows in over a million blank cells. The code supplied by Nilem & Jolivanes is working perfectly

  8. #8
    Forum Contributor
    Join Date
    02-12-2018
    Location
    TX
    MS-Off Ver
    MS Office 2019
    Posts
    305

    Re: Macro to insert 3 rows after the last item in each row

    So you're saying it didn't NOT work...I hear ya. Perhaps I'll stick to formulas till I watch some more YT videos.

+ 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] Macro to insert specific number of rows, populate rows with data above except date
    By Melissa Camp in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-08-2015, 03:59 PM
  2. [SOLVED] Macro to SUM and COUNT rows that have been seperated by an Item.
    By bkanealy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-23-2014, 01:59 PM
  3. Replies: 2
    Last Post: 09-17-2013, 10:09 AM
  4. [SOLVED] Macro code to insert 3 rows on spreadsheet with variable number of rows
    By D18GE in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2013, 07:33 AM
  5. Insert Pictures Macro, going across Row, pic above Referenced Item #
    By Rob Broggi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-20-2012, 05:46 PM
  6. Replies: 2
    Last Post: 04-21-2011, 07:13 PM
  7. Replies: 4
    Last Post: 03-14-2010, 09:48 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