+ Reply to Thread
Results 1 to 3 of 3

Insert row in table after entered data

  1. #1
    Registered User
    Join Date
    03-23-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    13

    Insert row in table after entered data

    Hello,

    This is my first message on this forum, so it might be unclear for you.

    I got a table, some columns are variable data you have to put in by your own and I got some columns with only formulas. After entered the last variable data I want excel to add a new row with the same formulas and format as the other rows in the table.

    I hope someone can help me. I don't think it is a difficult issue but I'm new with making macro's so that's why I'm asking

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Insert row in table after entered data

    The key is to first define your worksheet range as a Table.

    Here is a step-by-step guide.
    How to Add Records to an Excel 2010 Table

    Note: the link to Excel for Dummies is not intended as an insult. It's just a good guide. There are several others if you do a web search.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    03-23-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Insert row in table after entered data

    Thanks for your response. I already put the data in a table. The problem is that I'll get multiple tables below each other, so if the table automatically extend then it will overwrite the other tables.

+ 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: 2
    Last Post: 01-14-2014, 04:09 PM
  2. Replies: 2
    Last Post: 06-16-2013, 02:58 PM
  3. Check all data entered in table before executing code
    By adam2308 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-18-2012, 12:30 PM
  4. Replies: 2
    Last Post: 09-14-2012, 10:10 AM
  5. Using data entered in prompt to search database table
    By BluRay in forum Word Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2011, 05:44 AM

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