Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel 2000 help
How do you formulate a cell to automatically insert the current date? (Not
in Header/Footer but in a cell of the actual body of the worksheet) I want my form to automatically insert the current date each time I update it. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel 2000 help
=TODAY() or =NOW()
Note that these formulas update every time a workbook is opened/saved. Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. "Ammo2004" wrote: How do you formulate a cell to automatically insert the current date? (Not in Header/Footer but in a cell of the actual body of the worksheet) I want my form to automatically insert the current date each time I update it. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel 2000 help
Let's say you want cell A1 to contain the date whenever any cell on that
sheet is changed. In worksheet code put the following macro: Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False Range("A1").Value = Format(Now(), "dd mmm yyyy") Application.EnableEvents = True End Sub -- Gary's Student gsnu200704 "Ammo2004" wrote: How do you formulate a cell to automatically insert the current date? (Not in Header/Footer but in a cell of the actual body of the worksheet) I want my form to automatically insert the current date each time I update it. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel 2000 help
Does this have any advantage over just entering =NOW() in A1?
Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. "Gary''s Student" wrote: Let's say you want cell A1 to contain the date whenever any cell on that sheet is changed. In worksheet code put the following macro: Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False Range("A1").Value = Format(Now(), "dd mmm yyyy") Application.EnableEvents = True End Sub -- Gary's Student gsnu200704 "Ammo2004" wrote: How do you formulate a cell to automatically insert the current date? (Not in Header/Footer but in a cell of the actual body of the worksheet) I want my form to automatically insert the current date each time I update it. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel 2000 help
The poster want the date entered only when the sheet has been updated.
Putting a formula in the cell will cause it to change everyday, whether other cells have been updated or not. -- Gary's Student gsnu200704 "Dave F" wrote: Does this have any advantage over just entering =NOW() in A1? Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. "Gary''s Student" wrote: Let's say you want cell A1 to contain the date whenever any cell on that sheet is changed. In worksheet code put the following macro: Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False Range("A1").Value = Format(Now(), "dd mmm yyyy") Application.EnableEvents = True End Sub -- Gary's Student gsnu200704 "Ammo2004" wrote: How do you formulate a cell to automatically insert the current date? (Not in Header/Footer but in a cell of the actual body of the worksheet) I want my form to automatically insert the current date each time I update it. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel 2000 help
Thanks for the explanation.
Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. "Gary''s Student" wrote: The poster want the date entered only when the sheet has been updated. Putting a formula in the cell will cause it to change everyday, whether other cells have been updated or not. -- Gary's Student gsnu200704 "Dave F" wrote: Does this have any advantage over just entering =NOW() in A1? Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. "Gary''s Student" wrote: Let's say you want cell A1 to contain the date whenever any cell on that sheet is changed. In worksheet code put the following macro: Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False Range("A1").Value = Format(Now(), "dd mmm yyyy") Application.EnableEvents = True End Sub -- Gary's Student gsnu200704 "Ammo2004" wrote: How do you formulate a cell to automatically insert the current date? (Not in Header/Footer but in a cell of the actual body of the worksheet) I want my form to automatically insert the current date each time I update it. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
opening excel 2003 files with excel 2000?? | Excel Discussion (Misc queries) | |||
Excel 5 and Excel 2000 question. | Excel Discussion (Misc queries) | |||
Excel 2000 problem copying drawingobjects between sheets | Excel Discussion (Misc queries) | |||
Excel 2000 file when opened in Excel 2003 generates errors? | Excel Discussion (Misc queries) |