Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default HOW DO I FORMAT A CELL IN EXCEL TO PICK CURRENT SYSTEM DATE

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default HOW DO I FORMAT A CELL IN EXCEL TO PICK CURRENT SYSTEM DATE

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default HOW DO I FORMAT A CELL IN EXCEL TO PICK CURRENT SYSTEM DATE

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
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
format cell if date not current Becky Excel Worksheet Functions 2 December 17th 08 06:16 PM
Pick only date from DD/MM/YY format shaji Excel Discussion (Misc queries) 2 February 23rd 08 05:10 PM
Getting the Date Format Being Used By The Operating System And Exc Sunnous Excel Programming 1 November 17th 05 12:33 PM
have a calendar pop up in a cell to pick & insert a date in excel helevansen Excel Worksheet Functions 3 September 29th 05 09:37 PM
Hide/Unhide Columns representing dates as per Current System Date! gr8guy Excel Programming 3 June 13th 04 10:11 AM


All times are GMT +1. The time now is 04:59 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"