+ Reply to Thread
Results 1 to 3 of 3

how to insert a Row

  1. #1
    Registered User
    Join Date
    09-27-2014
    Location
    Africa
    MS-Off Ver
    2013
    Posts
    50

    how to insert a Row

    Hi ,
    I have a table as below and every time when I input the group name and press the add button, a new & blank row will be inserted below the previously last row of the same group
    e.g I input the group name of LRG3 @ cell I3 then press the add button, a blank row will be inserted below the previously last Row of LRG3 (Row12) to Row 13 and the its group name can automatically be input.
    besides, a new worksheet will be added after "RTUL05" with the sheet name @ cell(C,13), "RTUL06"
    Thks.
    1.JPG
    2.JPG
    3.JPG
    Attached Files Attached Files
    Last edited by VBAidot; 09-26-2016 at 04:26 AM. Reason: forget the attachment

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: how to insert a Row

    Try running this on your "Sheet1":
    Please Login or Register  to view this content.
    If it works as intended, create a button on that worksheet, and assign this macro to the button.
    多么想要告诉你 我好喜欢你

  3. #3
    Registered User
    Join Date
    09-27-2014
    Location
    Africa
    MS-Off Ver
    2013
    Posts
    50

    Re: how to insert a Row

    HI Millz,
    Thks a lot. it works.

+ 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. [SOLVED] Enable the Insert icon in Developer tab > Controls > Insert in Excel 2010
    By pedapudipradeep in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-03-2014, 12:41 PM
  2. Replies: 6
    Last Post: 10-02-2014, 06:31 AM
  3. [SOLVED] VBA codes to insert the rows and copy the first entire row text and insert sheet
    By PRADEEPB270 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2013, 05:05 AM
  4. Insert header , hide rows and insert page breaks
    By dwx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2013, 10:10 AM
  5. Insert header , hide rows and insert page breaks
    By dwx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-15-2013, 03:28 AM
  6. Help - Insert method of Range class failed - Selection.Insert Shift:=xlToRight
    By sandy@excelforum in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-04-2012, 11:14 AM
  7. Insert excel formula using VBA......MATCH function is what i want to insert
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-07-2009, 07:31 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