+ Reply to Thread
Results 1 to 11 of 11

Frozen date stamp

  1. #1
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Frozen date stamp

    Hey all, I know there are tons of topics like this one but I cant seem to find one that works. I have a similar formula that someone provided me for another worksheet but I cant seem to modify it to fit my needs . So I'm looking to add a basic code to each sheet so that when the operator enters their name in for example: A1 then the current date is populated in B1. I need that date to stay fixed and not update whenever the workbook is opened again. I realized that happened when I attempted it with just a simple formula. Here's what I have:

    Please Login or Register  to view this content.
    Maybe im oversimplifying it... Any thoughts?

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Frozen date stamp

    Your macro should work for you because it enters the actual date and not the formula. If you enter the formula, then the date will change as you described. Do you want the time stamp to be added automatically when someone enters their name in column A?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Re: Frozen date stamp

    Yes! sorry if I didnt specify that. I'm looking for the date to auto populate once their name is entered in A1

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Frozen date stamp

    Copy and paste this macro into the worksheet code module. Do the following: right click the tab name for your sheet and click 'View Code'. Paste the macro into the empty code window that opens up. Close the code window to return to your sheet. Enter a name in column A and exit the cell.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Re: Frozen date stamp

    Nothing happens.

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Frozen date stamp

    Did you place the macro in the code module for the worksheet and not in a standard module?

  7. #7
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Re: Frozen date stamp

    Not sure I understand the difference between modules (excuse my lack of knowledge) I right clicked on the sheet, selected "view code", and added the code in that blank space.

  8. #8
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Re: Frozen date stamp

    See attached.
    Attached Files Attached Files

  9. #9
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Frozen date stamp

    The file you posted works for me. Don't forget to exit the cell or press the RETURN key after you enter the name. This macro is a Worksheet_Change event which means that it is triggered automatically when you change the value of a cell. In your case, the change is restricted to column A. This type of macro must go into the code module for the worksheet (which you did correctly) and not in a standard module.

  10. #10
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Re: Frozen date stamp

    Looks like it was my PC, worked after I log off/on. Thanks!!

  11. #11
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Frozen date stamp

    You are very welcome.

+ 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] Open workbook to todays date. with frozen cells
    By nub9l in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-21-2017, 10:03 AM
  2. Need vba code to change date&time stamp as date format dd-mmm-yy in A:A rng
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2014, 06:08 AM
  3. How do I keep the date entry TODAY() frozen on that specific date.
    By chartkamp in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2014, 03:58 PM
  4. Replies: 6
    Last Post: 02-08-2013, 08:29 AM
  5. Need to capture date data in a text string containing a date and time stamp
    By Grilleman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2013, 01:14 PM
  6. Frozen panes won't stay frozen
    By Irshlas in forum Excel General
    Replies: 0
    Last Post: 03-12-2009, 03:15 PM
  7. [SOLVED] Create a button that will date stamp todays date in a cell
    By Tom Meacham in forum Excel General
    Replies: 3
    Last Post: 01-10-2006, 09:10 PM

Tags for this Thread

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