PC Review


Reply
Thread Tools Rate Thread

HOW DO I FORMAT A CELL IN EXCEL TO PICK CURRENT SYSTEM DATE

 
 
=?Utf-8?B?bWVjaGk=?=
Guest
Posts: n/a
 
      17th Aug 2007
i am programming an excel worksheet in which i need a cell to me able to
display to me the current system date. That is anytime i access the file, the
cell should be able to pick the current date as at the day i am accessing it.

please help

 
Reply With Quote
 
 
 
 
=?Utf-8?B?cmVrbGFtbw==?=
Guest
Posts: n/a
 
      17th Aug 2007
Hi mechi

Write an Auo_Open macro that runs when you open the file. Write the
Date/Time in a cell you want to have it.
Example:

Sub Auto_Open()
Range("A1") = Now()
End Sub

Regards
reklamo

"mechi" wrote:

> i am programming an excel worksheet in which i need a cell to me able to
> display to me the current system date. That is anytime i access the file, the
> cell should be able to pick the current date as at the day i am accessing it.
>
> please help
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      17th Aug 2007
with activesheet.range("A1")
.numberformat = "mm/dd/yyyy"
.value = date
end with

now will include the time.

mechi wrote:
>
> i am programming an excel worksheet in which i need a cell to me able to
> display to me the current system date. That is anytime i access the file, the
> cell should be able to pick the current date as at the day i am accessing it.
>
> please help


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
format cell if date not current Becky Microsoft Excel Worksheet Functions 2 17th Dec 2008 06:16 PM
link cell in excel to current date Romily Microsoft Excel Misc 3 31st Jul 2006 01:42 PM
have a calendar pop up in a cell to pick & insert a date in excel =?Utf-8?B?aGVsZXZhbnNlbg==?= Microsoft Excel Worksheet Functions 3 29th Sep 2005 09:37 PM
how do i set up a cell in excel so that it shows the current date =?Utf-8?B?bWlrZWxvdmU=?= Microsoft Excel Worksheet Functions 2 16th May 2005 08:12 PM
pick Date format from Opearating System =?Utf-8?B?SXNoYWFu?= Microsoft ASP .NET 5 20th Oct 2004 03:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:00 PM.