Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jahcureus
 
Posts: n/a
Default how to enter the date automatically?

How to enter the date automatically. Once I open the file i want it to have
the have the current date. I know it involves using the date command but not
sure how.

Thanks for the help
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default


Private Sub Workbook_Open()
Worksheets("Sheet1").Range("A1").Value = Format(Date, "dd mmm yyyy")
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jahcureus" wrote in message
...
How to enter the date automatically. Once I open the file i want it to

have
the have the current date. I know it involves using the date command but

not
sure how.

Thanks for the help



  #3   Report Post  
IrishAnne
 
Posts: n/a
Default

Type in =Now in appropriate cell. It will display date and time. To change
format just show date - Format,Cells and click Number tab and select format
you want.

Hope that helps.

"Jahcureus" wrote:

How to enter the date automatically. Once I open the file i want it to have
the have the current date. I know it involves using the date command but not
sure how.

Thanks for the help

  #4   Report Post  
Niek Otten
 
Posts: n/a
Default

=TODAY()

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Jahcureus" wrote in message
...
How to enter the date automatically. Once I open the file i want it to
have
the have the current date. I know it involves using the date command but
not
sure how.

Thanks for the help



  #5   Report Post  
Jahcureus
 
Posts: n/a
Default

Thanks alot guys for the help.
Have a good day.
Much love
Bless

"IrishAnne" wrote:

Type in =Now in appropriate cell. It will display date and time. To change
format just show date - Format,Cells and click Number tab and select format
you want.

Hope that helps.

"Jahcureus" wrote:

How to enter the date automatically. Once I open the file i want it to have
the have the current date. I know it involves using the date command but not
sure how.

Thanks for the help

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
Changing Cell formats to date fields automatically PCLIVE Excel Worksheet Functions 3 April 12th 05 10:34 PM
Automatically Insert DATE, so that DATE will NOT change Cie Excel Worksheet Functions 4 April 4th 05 05:51 PM
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM
Excel: How do I enter a date in one cell & automatically dates adj Shannon Excel Discussion (Misc queries) 4 January 12th 05 12:51 AM
How to change (delivery) days and automatically the receive date in an other cell? Elboo Excel Worksheet Functions 5 November 22nd 04 02:44 PM


All times are GMT +1. The time now is 09:01 PM.

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

About Us

"It's about Microsoft Excel"