+ Reply to Thread
Results 1 to 2 of 2

Auto Populate Cell when Row is Inserted

  1. #1
    Registered User
    Join Date
    08-03-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    8

    Lightbulb Auto Populate Cell when Row is Inserted

    Hello,

    This seems simple, but I can't seem to wrap my brain around it ...

    How do I auto-populate a cell with Today's Date whenever a new row is inserted???

    I am not trying to copy a formula from the row above, I want the date to auto-populate in the cell. 99 times out of 100, the user will not need to change the date, but on those few instances when they are late entering data, i need that cell to be edited without any errors when a formula is over written.

    Thank you guys for any and all help!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Auto Populate Cell when Row is Inserted

    Hi

    There is no Before Row Insert Event to trigger your macro. So how else could you trigger it?

    Ahh the worksheet change event is triggered when you insert one or more rows. So maybe you could use that.

    Process

    Has the number of rows Increased?
    Find the address of the selected range
    Place Date in Column A.

    Right Click on your sheet name at the bottom of excel and select view code

    Paste this code into the module that opens and close it.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 10-05-2017 at 03:41 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. Replies: 4
    Last Post: 01-03-2016, 02:51 PM
  2. Need to auto-fill a cell when value inserted in another
    By Geoffo123 in forum Excel General
    Replies: 7
    Last Post: 04-20-2015, 11:47 AM
  3. [SOLVED] Auto Populate cell based on auto filter selection from table in same sheet
    By missydanni in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 05:03 PM
  4. [SOLVED] Auto Populate a cell
    By StephenSmith in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-23-2013, 04:02 PM
  5. Replies: 3
    Last Post: 02-28-2012, 11:54 AM
  6. Auto-populate next available cell
    By bigbadlee in forum Excel General
    Replies: 3
    Last Post: 05-16-2009, 05:27 PM
  7. Auto Populate a cell
    By Bellsouth in forum Excel General
    Replies: 3
    Last Post: 03-30-2005, 10:06 AM

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