+ Reply to Thread
Results 1 to 7 of 7

Code to Number Rows as a Sheet is Auto Updated

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Code to Number Rows as a Sheet is Auto Updated

    Big shoutout to Mildred et al

    Folks, I have a worksheet that is auto updated by another application.

    I need to assign a number to each row as it gets pushed down by new rows from each update.

    I have included notes in the attachment for a full explanation of my requirement.

    Cheers
    hammer
    Attached Files Attached Files
    If you have found solving my problem/s to be an interesting and educational exercise then how about Repping me up?
    No idea why I need Rep, other than feeling left out....

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Code to Number Rows as a Sheet is Auto Updated

    Hello hammer2,

    You say the Sheet gets automatically updated by another application. Does it insert only one Row at a time, or may it vary?

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Code to Number Rows as a Sheet is Auto Updated

    Hi Winon
    Just one row at a time
    Thanks

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Code to Number Rows as a Sheet is Auto Updated

    Thank you for the reply, hammer2,

    You could Run the Code below, with the Application which updates your Sheet.

    Please Login or Register  to view this content.

    Regards.

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Code to Number Rows as a Sheet is Auto Updated

    Hi hammer2,

    I forgot to mention that you should place my Code in a Standard Module, and the at the end of the other Application before, End Sub, which updates your Sheet, you enter "Call Hammer" -without the quotes.

    Hope that helps.

    Regards.

  6. #6
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Code to Number Rows as a Sheet is Auto Updated

    Hi Winon
    That looks to be it!
    Many thanks for your time and expertise!
    Best Wishes
    hammer

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Code to Number Rows as a Sheet is Auto Updated

    Thank you for the feedback, hammer2,

    You are welcome, glad I could help.

    Thank you as well for the Rep Tap, I appreciate it!

    Regards,

+ 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] code to auto number rows - that will update when rows are added/deleted
    By dkitzerow in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-12-2015, 10:45 AM
  2. Auto run the Code automaticaly when cell is updated
    By tharindudk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-16-2013, 12:11 AM
  3. [SOLVED] Reversing the order of Auto Updated Rows into a new Sheet
    By hammer2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-24-2013, 11:11 AM
  4. [SOLVED] Need VBA code to count number of rows & split into group of 7 rows in same sheet
    By amy_d2 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-05-2013, 11:03 AM
  5. VBA code to auto add rows to Sheet
    By Andrew_P in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-28-2009, 11:49 PM
  6. Rev. Auto Updated when sheet is updated and or entire book
    By frankee_gee in forum Excel General
    Replies: 1
    Last Post: 04-07-2008, 05:05 PM
  7. Auto transfer rows from 1 sheet to another by account code.
    By Syd in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-09-2006, 12:10 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