+ Reply to Thread
Results 1 to 2 of 2

Add new row with VBA two lines above subtotal when I fill in the last row

  1. #1
    Registered User
    Join Date
    04-24-2014
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    2

    Add new row with VBA two lines above subtotal when I fill in the last row

    This is probably an easy one..but I'm having troubles.

    Sheet1 I have the following:

    R11 | Col_C | Col_K & Col_L merged
    --------------------------------
    R12 | Description | Price
    --------------------------------
    R13 | Description | Price
    --------------------------------
    R14 | Description | Price
    --------------------------------
    R15 | |
    --------------------------------
    R16 | |
    --------------------------------
    | SubTotal (L17)
    -------------------------------

    I'm trying to keep R16 empty. I would like it so when I finish entering data in R15 (could even make it so when R15/Col_KL has data) it automatically adds a new row (keeping the formatting of R15 (R16 has a thick border on the bottom that I don't want on the row above it))

    I have the following that works if I click a button/macro but I'd like it done automatically when I get to the 2nd last row:
    Please Login or Register  to view this content.
    Last edited by cinnamw; 04-24-2014 at 03:25 PM.

  2. #2
    Registered User
    Join Date
    04-24-2014
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Add new row with VBA two lines above subtotal when I fill in the last row

    Got it.

    Just gave the SubTotal a name of TotalVal
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need to delete all the lines in the subtotal which is zero
    By kjaganku in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2014, 04:26 PM
  2. create subtotal lines
    By dusoo in forum Excel General
    Replies: 2
    Last Post: 06-04-2013, 05:25 PM
  3. Replies: 0
    Last Post: 02-09-2012, 11:53 AM
  4. Subtotal Lines
    By redmalva in forum Excel General
    Replies: 7
    Last Post: 07-11-2009, 04:44 AM
  5. formatting subtotal lines
    By david4141955 in forum Excel General
    Replies: 2
    Last Post: 08-14-2006, 05:23 PM

Tags for this Thread

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