+ Reply to Thread
Results 1 to 2 of 2

Automatic Row insert

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    Czech Republic
    MS-Off Ver
    Excel 2007
    Posts
    1

    Automatic Row insert

    I'd like to make very big table. There will be head on top, one wor will be free and there will be the data. Please how can I make the automatic adding? To the free row under the head I'd like to write some new things. Than will Excel make new row under the head and again.. So in the top will be the newest data and I needn't go to the bottom to fill new data under the table. Thanx Michal

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Automatic Row insert

    If you don't mind use a right-click, you use the worksheet's Before_Rightclick event to insert a new row.

    This code will insert a new row only if you are on row-2 (immediately below the header row) and right-click.
    Will that work for you?

    Please Login or Register  to view this content.
    You must copy the code the code module for the data sheet.
    Right click the sheet tab > View Code > copy and paste the code into the sheet module.
    Close the VB Editor.

    In Excel 2007 you must save the workbook as a .xlsm file type.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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