+ Reply to Thread
Results 1 to 3 of 3

vba to add new row and continue new #

  1. #1
    Forum Contributor
    Join Date
    04-05-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    360

    vba to add new row and continue new #

    i'm using the following code which is assigned to a button to create a new row and copy the contents from the row above.

    each row has a special # (for example in column A each row is numbered SU-1, SU-2, SU-3, etc..). I'm looking for the button to continue the numbering system, so for example the last row may be SU-9, when a new row is created (by click of the button) i want it to automatically be numbered SU-10 then SU-11 and so on.

    Also instead of coping the entire row, i would like certain cells to become blank when the button is clicked. (cells C, D, F, G, H). so for instance the last row will have information in cells CDFGH (the other cells have formulas), when a new row in created I would like cells CDFGH to be blank and only the other cells to be copied.

    any help would be much appreciated!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: vba to add new row and continue new #

    Can you attach a sample file with some data?

  3. #3
    Forum Contributor
    Join Date
    04-05-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    360

    Re: vba to add new row and continue new #

    see attached.
    Attached Files Attached Files

+ 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. Click ok to continue
    By tkuia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2010, 03:44 AM
  2. Function that will continue to add if certain # is not met
    By emptycucumber in forum Excel General
    Replies: 1
    Last Post: 05-28-2009, 10:59 AM
  3. [SOLVED] to continue down in the same row
    By alex178 in forum Excel General
    Replies: 2
    Last Post: 07-08-2006, 12:40 PM
  4. SST and CONTINUE records
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2006, 11:55 AM
  5. Continue
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2006, 01:55 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