Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
julisimo
 
Posts: n/a
Default Today() or Date() function help

Hi,
First - excuse me for my bad english :)

I want to enter to a cell today() function,
but i don't want the date to change all the time. Example:

Date Time Info Name
01.01.2005 12:45 test Julisimo
01.02.2005 05:32 test2 Ivan

The Date & Time cells - i want to add automatik, but only once.

I hope someone understand me:)
Thanks in advance

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
only possible using VBA. See:
http://www.mcgimpsey.com/excel/timestamp.html

--
Regards
Frank Kabel
Frankfurt, Germany
"julisimo" schrieb im Newsbeitrag
...
Hi,
First - excuse me for my bad english :)

I want to enter to a cell today() function,
but i don't want the date to change all the time. Example:

Date Time Info Name
01.01.2005 12:45 test Julisimo
01.02.2005 05:32 test2 Ivan

The Date & Time cells - i want to add automatik, but only once.

I hope someone understand me:)
Thanks in advance



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Can you use keys, Ctrl-:, and Ctrl-Shift-;?

--

HTH

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


"Frank Kabel" wrote in message
...
Hi
only possible using VBA. See:
http://www.mcgimpsey.com/excel/timestamp.html

--
Regards
Frank Kabel
Frankfurt, Germany
"julisimo" schrieb im Newsbeitrag
...
Hi,
First - excuse me for my bad english :)

I want to enter to a cell today() function,
but i don't want the date to change all the time. Example:

Date Time Info Name
01.01.2005 12:45 test Julisimo
01.02.2005 05:32 test2 Ivan

The Date & Time cells - i want to add automatik, but only once.

I hope someone understand me:)
Thanks in advance





  #4   Report Post  
Bill Martin -- (Remove NOSPAM from address)
 
Posts: n/a
Default

julisimo wrote:
Hi,
First - excuse me for my bad english :)

I want to enter to a cell today() function,
but i don't want the date to change all the time. Example:

Date Time Info Name
01.01.2005 12:45 test Julisimo
01.02.2005 05:32 test2 Ivan

The Date & Time cells - i want to add automatik, but only once.

I hope someone understand me:)
Thanks in advance

----------------------------

Faced with the same problem, I just defined a macro to take care of it.
It just puts today() into the selected cell, then copies that cell and
pastes it back onto itself using the "value only" option. It's easy to
record the macro as you go through the steps, then you've got it.

Good luck...

Bill
  #5   Report Post  
julisimo
 
Posts: n/a
Default

Thanks Bill Martin,
i thing that will be hlpfull form me...
but if you paste some example :) - will be great. I'm not very good in VBS
and macros.

Thanks in advance


  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

Sub AddDate()
With ActiveCell
.Value = Date
.NumberFormat = "dd mmm yyyy"
End With
End Sub

--

HTH

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


"julisimo" wrote in message
...
Thanks Bill Martin,
i thing that will be hlpfull form me...
but if you paste some example :) - will be great. I'm not very good in VBS
and macros.

Thanks in advance



  #7   Report Post  
Hari
 
Posts: n/a
Default

Hi julisimo,

Why dont u try Bob's suggestion of "Can you use keys, Ctrl-:, and
Ctrl-Shift-;?"

Anyway here's is the VBA macro stuff (modify it as per ur requirements).
Paste this in the VB editor (Alt +F11) after doing INSERT Module

Sub Macro1()
'
' Macro1 Macro

Range("E10").Select
ActiveCell.FormulaR1C1 = "=TODAY()"
Range("E10").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False

End Sub

Thanks a lot,
Hari
India
"julisimo" wrote in message
...
Thanks Bill Martin,
i thing that will be hlpfull form me...
but if you paste some example :) - will be great. I'm not very good in VBS
and macros.

Thanks in advance



  #8   Report Post  
Bill Martin -- (Remove NOSPAM from address)
 
Posts: n/a
Default

julisimo wrote:
Thanks Bill Martin,
i thing that will be hlpfull form me...
but if you paste some example :) - will be great. I'm not very good in VBS
and macros.

Thanks in advance


Bob Phillips gave you one way to do this. Here's how Excel created it
for me just from recording keystrokes (and a little follow up editing to
clean it up):

-------------------
Sub DateToday()
'
' DateToday Macro
' Macro recorded 11/26/2004 by wjm
'
' Keyboard Shortcut: Ctrl+d
'
ActiveCell.FormulaR1C1 = "=TODAY()"
Selection.NumberFormat = "mm/dd/yy"
Selection.Copy
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False ' Esc key
End Sub
------------------


Good luck...

Bill
  #9   Report Post  
julisimo
 
Posts: n/a
Default

thank to all

great job


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
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM
Can I use TODAY Function in formula without it changing the next . Tucson Guy Excel Discussion (Misc queries) 1 December 19th 04 09:47 AM
Can I use TODAY Function in a formula that will not change it the. Tucson Guy Excel Discussion (Misc queries) 1 December 19th 04 09:32 AM
How do I use the IF function to calculate date Pulling My Hair Out! Excel Discussion (Misc queries) 1 December 10th 04 11:03 PM
Date and Time Macro m.j.anderson Excel Discussion (Misc queries) 1 December 1st 04 12:35 AM


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