+ Reply to Thread
Results 1 to 3 of 3

Insert Row Macro

  1. #1
    Registered User
    Join Date
    02-23-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    9

    Insert Row Macro

    Hi,

    I have a couple of follow up questions related to this post...

    1) What would the macro to insert two rows instead one row?
    2) and is there a way to create a sum up of a column when there is a blank row?

    an example:

    Original:

    1 15
    1 20
    1 25
    2 30
    2 40
    2 50

    After macro:

    1 15
    1 20
    1 25
    total 60

    2 30
    2 40
    2 50
    total 120

    Would really appreciate your help on this.
    Last edited by karvan; 05-24-2011 at 10:28 PM. Reason: Added Link

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,415

    re: Insert Row Macro

    Please don't tag onto someone else's thread.

    If a thread appears to be relevant, provide a link to it.

    And please read the forum rules again before you post.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,415

    Re: Insert Row Macro

    The moderator split this off from the thread you had tagged on to.

    However, as you have now opened a new thread which is being followed up ...

    http://www.excelforum.com/excel-prog...-with-sum.html

    ... this one now constitutes a duplicate thread.

    Please mark this thread as Solved.

    Regard

+ 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