#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
opening excel 2003 files with excel 2000?? Dave F Excel Discussion (Misc queries) 2 September 21st 06 04:53 PM
Excel 5 and Excel 2000 question. Naveen Mukkelli Excel Discussion (Misc queries) 1 March 3rd 06 09:05 AM
Excel 2000 problem copying drawingobjects between sheets SiriS Excel Discussion (Misc queries) 0 February 8th 06 10:31 AM
Excel 2000 file when opened in Excel 2003 generates errors? Doug Excel Discussion (Misc queries) 13 December 25th 04 10:20 PM


All times are GMT +1. The time now is 05:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"