do you need it to be fixed to the date/time it was entered?
If the latter: Ctrl-; {space} Ctrl-Shift-:
Or do you want actual VBA code?
How about for when you want to combine a date and time that is not given by the formula Now()? Can you do something like?Code:Format(myDate & myTime, "dd/mm/yyy hh:mm:ss AM/PM")
I need a macro/vba code which will insert current date and time inside a single cell as the following format:
dd/mm/yyyy hh:mm AM/PM (i.e. 01/10/2010 05:34:00 PM)
How to do that?
Thanks.