+ Reply to Thread
Results 1 to 7 of 7

Macro to Insert Row, Copy & Paste all-in-1

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    KL
    MS-Off Ver
    Excel 2010
    Posts
    37

    Macro to Insert Row, Copy & Paste all-in-1

    Hi,

    I have to do a lot of entries which looks like this :-

    Row 1 : AAAAAAA (Data in several columns)
    Row 2 : BBBBBBB
    Row 3 : CCCCCCC

    I need to insert 1 row (sometimes 2 rows) directly below a selected tow (eg. Row 1), and then copy everything in row 1 & pasted to the newly created row(s).
    So the output will be something like this :-

    Row 1 : AAAAAAA
    Row 2 : AAAAAAA
    Row 3 : AAAAAAA
    Row 4 : BBBBBBB
    Row 5 : BBBBBBB
    Row 6 : CCCCCCC

    Currently, I manually insert row, copy & paste, repeat repeat & I have a lot of rows to handle.
    Would appreciate if anyone could help me ease my task.
    Thanks!
    Last edited by donkeybusiness; 08-30-2012 at 10:08 PM.

  2. #2
    Registered User
    Join Date
    11-25-2008
    Location
    Poland
    MS-Off Ver
    MSO 2K3, 2K10
    Posts
    84

    Re: Macro to Insert Row, Copy & Paste all-in-1

    Please Login or Register  to view this content.
    Artik

  3. #3
    Registered User
    Join Date
    08-01-2012
    Location
    KL
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Macro to Insert Row, Copy & Paste all-in-1

    Amazing!
    Just 1 more question, can this be used with a keyboard shortcut ?

  4. #4
    Registered User
    Join Date
    11-25-2008
    Location
    Poland
    MS-Off Ver
    MSO 2K3, 2K10
    Posts
    84

    Re: Macro to Insert Row, Copy & Paste all-in-1

    Naturally.
    In Macro window select [Options] button.

    Artik

  5. #5
    Registered User
    Join Date
    08-01-2012
    Location
    KL
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Macro to Insert Row, Copy & Paste all-in-1

    Great stuff!
    Many thanks!

  6. #6
    Registered User
    Join Date
    08-01-2012
    Location
    KL
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Macro to Insert Row, Copy & Paste all-in-1

    Sorry, it appears that I'm unable to 'Undo' the action after running the Macro, any help ?

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

    Re: Macro to Insert Row, Copy & Paste all-in-1

    John Walkenbach has a solution here.

    http://j-walk.com/ss/excel/tips/tip23.htm

+ 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