Consulting

Results 1 to 3 of 3

Thread: VBA code to Copy/Insert + Delete rows by criteria

  1. #1
    VBAX Regular
    Joined
    Dec 2016
    Posts
    10
    Location

    VBA code to Copy/Insert + Delete rows by criteria

    Hi,

    I need your help in writing VBA codes that will enable adding/deleting rows to an Excel table full with records and formulas, by simple criterias:

    1) Adding row - Copy entire row (the model row) with formulas that is located in a constant row (row 8) and insert this paste row to a new selected row. The insertion place of the paste row will be set by typing '1' in column A next to the destination row.

    2) Deleting row - Deleting a selected row by indicating '0' in column A next to the row that need to be deleted.

    Will be glad to have simple as possible codes since my knowledge in VBA is poor...

    Thanks in advance

  2. #2
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    Welcome to the forum! See my solution at your cross-post: http://www.excelforum.com/showthread.php?t=1166826

  3. #3
    VBAX Regular
    Joined
    Dec 2016
    Posts
    10
    Location
    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •