+ Reply to Thread
Results 1 to 3 of 3

Inserting rows after subtotals (in macro)

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Florida
    MS-Off Ver
    Excel 2003/2007
    Posts
    5

    Inserting rows after subtotals (in macro)

    i have a macro that ends with:

    Please Login or Register  to view this content.
    there are different amounts of data each time so the destination rows to insert at are always different. how can i insert a row after each subtotal?

    thanks,

    brett

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    12,504

    Re: Inserting rows after subtotals (in macro)

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    02-02-2010
    Location
    Florida
    MS-Off Ver
    Excel 2003/2007
    Posts
    5

    Re: Inserting rows after subtotals (in macro)

    thank you for the advice dave. file is attached
    Attached Files Attached Files
    Last edited by AndersonB; 02-04-2010 at 12:58 PM.

+ 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