Consulting

Results 1 to 4 of 4

Thread: Solved: Date and time

  1. #1
    VBAX Mentor
    Joined
    Aug 2008
    Posts
    323
    Location

    Solved: Date and time

    Hello I am preparing a spreadsheet a basic one..

    I have a column that has a data validation to a list .
    When a user selects a value from the list, I would like to update the cell next to it with the date and time the user selected a value.
    I used a if statement
    if (cell <>"",now(),"")
    guess that dosent work as every time I update other cell in the same column all the date and time get updated to the current time and date.
    I want the date to be static .. how do I do that. I dont want to write a VBA code for it , was wondering if there is any excell formula that does this

    thank you
    I am a Newbie, soon to be a Guru

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    I can't see a way to do that without VBA.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Mentor
    Joined
    Aug 2008
    Posts
    323
    Location
    ok , as I dont have any controls in the spread sheet how would I do that In VBA ?
    I am a Newbie, soon to be a Guru

  4. #4
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Try this
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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