+ Reply to Thread
Results 1 to 3 of 3

Macro to insert rows and fill it with info from above

  1. #1
    Registered User
    Join Date
    04-18-2014
    Location
    romania
    MS-Off Ver
    Excel 2010
    Posts
    2

    Macro to insert rows and fill it with info from above

    Hi everyone,
    this is my first post here so please take me easy.

    I have a file with hundreds of rows and I need to take the information inside and put it into a very different form (see the file attached). Basically I need to insert 6 rows before every existing row and all the info from the original row to put it into only 1 cell in the new row. For which a macro should be helpful put I don't have enough experience to write it.

    If anyone has any idea it would be greatly appreciated.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Macro to insert rows and fill it with info from above

    VBA coding a lot of times is all about finding the pattern. It's not clear if your pattern in the example will apply to your real sheet so I made a few assumptions. Try this (probably not bullet proof):

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-18-2014
    Location
    romania
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro to insert rows and fill it with info from above

    @stnkynts in my example I used 2 rows from my sheet and your macro is exactly what I need. Thanks a lot!

+ 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. Greetings!
    By waven in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 04-19-2014, 02:35 AM
  2. Need Macro to Fill Database with Form Info
    By Melvinrobb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-30-2013, 02:14 PM
  3. [SOLVED] Macro to conditionally insert rows and fill them
    By dproth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2013, 09:48 AM
  4. Insert Rows And Fill Formulas Copying rows
    By Mj_McKenzie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-25-2012, 03:18 PM
  5. Fill in cells with continuous info but skip rows
    By robbe218 in forum Excel General
    Replies: 0
    Last Post: 11-07-2011, 08:14 PM

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