+ Reply to Thread
Results 1 to 2 of 2

input date when criteria met?

Hybrid View

o AXE input date when criteria met? 06-14-2009, 10:27 AM
JBeaucaire Re: input date when criteria... 06-14-2009, 05:42 PM
  1. #1
    Registered User
    Join Date
    06-13-2009
    Location
    CANADA
    MS-Off Ver
    Excel 2008 MAC
    Posts
    13

    input date when criteria met?

    i have one last question about making my scorecard, and that is to see if there is a way to input the current date into a cell when ever i put numbers into a specified row. thank you

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: input date when criteria met?

    This requires a "worksheet_change" macro, a sheet-level macro, active all the time on your sheet. The good thing is that you CAN do what you want.

    For instance, you could tell the worksheet_change macro to watch for value changes in column A. Whenever one occurs (like starting a new row of data), it automatically puts the date into column B for you. Very nice.

    But there is a down-side to worksheet_change macros. They cause your sheet to lose the UNDO stack. So you can never just press Ctrl-Z to undo the last thing you did, there's never an undo-list for that sheet to use.

    If that's ok, I can help you with that macro. Tell me what column you want "watched" and what column you want the dates to then appear in. For instance an entry in A2 could trigger a date in B2.

    Also, if we're watching column A and on a row that ALREADY has filled out data, someone makes a change in that trigger column, do you want the date that is already in that row to be overwritten with a new, never overwritten, or a popup asking what to do?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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