+ Reply to Thread
Results 1 to 5 of 5

Add row to below last entry.

  1. #1
    Registered User
    Join Date
    08-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    25

    Question Add row to below last entry.

    Required macro for following action-
    (Refer attached file)
    Should have only one blank row (row no 10) below last entry (row no 9)
    When Employee Code is entered in B10 in last row
    One blank row should get added (alongwith formulae) below row 10 and above row containing Column Total
    Sr. no in Column A to add up with 1
    In last row of Totals, Formulae should incorporate newly added/deleted rows.
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Add row to below last entry.

    When you fill with new data the last not filled row, you have to click Enter. Then run this code.

    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    08-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Add row to below last entry.

    hi Fotis1991,
    Thanks for the help, but the macro is not working.

    Regards,

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Add row to below last entry.

    You are welcome but just saying "macro not working" without any explanations...my reply is that macro works fine if you just follow the instructions..

  5. #5
    Registered User
    Join Date
    08-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Add row to below last entry.

    1) Macro adds row above the current row.
    2) Instead of adding Serial Number in Column A, Error shows up, up to row no#1000. ( I think this happens due addition of row above current row, but the nubring is done up to 1000th row instead of it should be up to newly added row at bottom and above the Totals row)

+ 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. Replies: 3
    Last Post: 09-12-2013, 12:37 AM
  2. Replies: 1
    Last Post: 08-22-2013, 05:11 PM
  3. Replies: 0
    Last Post: 10-06-2011, 07:03 AM
  4. Replies: 2
    Last Post: 09-18-2008, 05:47 AM
  5. Automated entry in one field to change values in another instead of manual entry
    By Josiah in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-23-2008, 08:22 PM

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