+ Reply to Thread
Results 1 to 8 of 8

Adding 2 Rows after every one row

  1. #1
    Registered User
    Join Date
    01-29-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    8

    Adding 2 Rows after every one row

    I need some help fomulating a VSB code which would add two rows after every one row. Any help you could provide would certainly be appreciated!
    Last edited by mjbrancato; 01-30-2009 at 09:35 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Adding 2 Rows after every one row

    You need to give us more information
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Adding 2 Rows after every one row

    Quote Originally Posted by mjbrancato View Post
    I need some help fomulating a VSB code which would add two rows after every one row. Any help you could provide would certainly be appreciated!
    Hi,

    Did you mean VBA code?

    Assuming your list is a contiguous list, name the first cell "Start" and run the folloiwng macro.

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    01-29-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Adding 2 Rows after every one row

    Yes, Sorry. VBA Code.

    I attemped to run this macro and I recieved a 400 error message. Not sure what this means?

    I am running Excel 2003 - Thanks!

  5. #5
    Registered User
    Join Date
    01-29-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Adding 2 Rows after every one row

    Not sure of the specific infomation need but, I am in Excel 2003. The data set is 1897 rows and spands through columns AD. Hope this helps!

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Adding 2 Rows after every one row

    Try
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    01-29-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Adding 2 Rows after every one row

    Perfect! Thanks for the help!

  8. #8
    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: Adding 2 Rows after every one row

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    _________________________________________


    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 !!!

+ 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