+ Reply to Thread
Results 1 to 3 of 3

add lines in excel 2010

  1. #1
    Registered User
    Join Date
    11-20-2011
    Location
    Switzerland
    MS-Off Ver
    Office 365
    Posts
    28

    add lines in excel 2010

    hi all
    I have office 2010 and I want to create the following : my sheet has a few hundred lines and i would like to insert or replicate each line a certain number of times. for instance, I want line A 35 times, line B 35 times etc etc. I tried to create a macro but when I activate it, it starts from the same line I created it from; how can I do that?
    Last edited by alisam; 11-22-2011 at 12:17 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: add lines in excel 2010

    Try this macro

    Please Login or Register  to view this content.
    Open up the VBA editor by hitting ALT F11

    Insert a new module by hitting Insert - Module

    Paste the macro into the empty sheet

    Hit ALT F11 to get back to the worksheet.

    Run the macro by going to tools-macro in Excel 2003 or the view ribbon in Excel 2007.
    Martin

  3. #3
    Registered User
    Join Date
    11-20-2011
    Location
    Switzerland
    MS-Off Ver
    Office 365
    Posts
    28

    Re: add lines in excel 2010

    works thanks martin

+ 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