+ Reply to Thread
Results 1 to 3 of 3

Add Row at the end of Sheet VBA

  1. #1
    Registered User
    Join Date
    08-02-2012
    Location
    Downers Grove, IL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Add Row at the end of Sheet VBA

    Looking for assistance with writing code to do a few things at first.

    Need to understand code to insert a row in an excel workbook at the end of the record. (As in Access, when you tab past the last field it creates a new record)
    Attached Files Attached Files
    Last edited by Sgtvelez; 08-03-2012 at 10:03 AM. Reason: Poor Title

  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
    45,005

    Re: Novice in VBA and need assistance

    Welcome to the forum. Unfortunately, your first post does not comply with the forum rules and you will need to change the title ... before it attracts the attention of the moderators.

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    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
    45,005

    Re: Add Row at the end of Sheet VBA

    Select your data from row 5 to row 102 and then Insert Table. Confirm your data has headers.

    You should then find that a) you don't need to format all the "empty" rows and b) when you type in a cell on the next row after the table it will copy the formatting and formulae down. Ir won't insert rows, AFAIK.

    Not a good idea to have your analysis under the input/raw data area ... you need to move that to a separate sheet.

    Regards, TMS

+ 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