Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Capturing Date

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Larry Fish - 26 Sep 2006 13:39 GMT
I have tried writing a macro that would let me capture the date from my
computer and place it in cell D2.  The captured day will be moved intact at
the end of the day

Is there a command that will let me do that?

Thanks for the help in advance.
Jaleel - 26 Sep 2006 13:58 GMT
Hi,

Why do you need a macro for this if Excel has a formula like this?  In Cell
D2, put:  =TODAY()

> I have tried writing a macro that would let me capture the date from my
> computer and place it in cell D2.  The captured day will be moved intact at
[quoted text clipped - 3 lines]
>
> Thanks for the help in advance.
Alan - 26 Sep 2006 13:59 GMT
Sub Macro1()
Sheet1.Range("D2") = Date
End Sub
Regards,
Alan.
>I have tried writing a macro that would let me capture the date from my
> computer and place it in cell D2.  The captured day will be moved intact
[quoted text clipped - 4 lines]
>
> Thanks for the help in advance.
SteveW - 26 Sep 2006 14:01 GMT
=today() puts the current date as taken from your PC !
=now() is the same plus the time

Steve

> I have tried writing a macro that would let me capture the date from my
> computer and place it in cell D2.  The captured day will be moved intact  
[quoted text clipped - 4 lines]
>
> Thanks for the help in advance.
MartinW - 27 Sep 2006 13:40 GMT
The TODAY() and NOW() functions are volatile and will constantly
update. If you want the date to stick just hit ctrl+; for the date only.
If you want date and time hit ctrl+; space ctrl+shift+:

If you need it automatic then have a look here

http://www.mcgimpsey.com/excel/timestamp.html

HTH
Martin
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.