+ Reply to Thread
Results 1 to 3 of 3

Macro to insert rows using a worksheet value

  1. #1
    Registered User
    Join Date
    03-28-2009
    Location
    Fort Lauderdale, FL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Macro to insert rows using a worksheet value

    I would appreciate help with a macro that looks at a number in a cell, inserts that many rows below that row, then repeats this for following rows that also have cells that indicate how many rows to insert.

    Attached is a simple sample data sheet with how data looks before and how it should look after.

    Thank you.
    Attached Files Attached Files
    Last edited by VBA Noob; 04-07-2009 at 03:55 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: Macro to insert rows using a worksheet value

    Maybe

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    03-28-2009
    Location
    Fort Lauderdale, FL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Macro to insert rows using a worksheet value

    That works like a charm. Thank you so much for the quick post. I can complete my project...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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