Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default needing a keystroke for the current date AND time

I know that CTRL + ; gives the current date, and I know that CTRL + SHIFT + :
gives the current time. Is there a keystroke that gives the current date AND
time? I'd like to enter a start time quickly in one column and then a
closing time in another and have it calculated in a third. The individuals
who will be filling out this spreadsheet need a very quick and dirty way to
do it. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default needing a keystroke for the current date AND time

If you assign a shortcut key like CNTRL-e to this macro:

Sub DayTime()
ActiveCell = Now
End Sub

It may do the trick
--
Gary''s Student - gsnu200812


"Scotta0471" wrote:

I know that CTRL + ; gives the current date, and I know that CTRL + SHIFT + :
gives the current time. Is there a keystroke that gives the current date AND
time? I'd like to enter a start time quickly in one column and then a
closing time in another and have it calculated in a third. The individuals
who will be filling out this spreadsheet need a very quick and dirty way to
do it. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default needing a keystroke for the current date AND time

hi
not really. see this sites for keyboard shortcuts
2003 http://www.cpearson.com/excel/KeyboardShortcuts.htm
2007
http://www.keyxl.com/aaa33ef/136/Mic...-shortcuts.htm
some shortcuts change in 2007. does that supprise you?????

option 1
crtl+; space ctrl+shift+: will put the date and time in a cell but you have
to release the crtl key to put the space in.

option 2
create a macro
Sub EnterDateTime()
ActiveCell.value = Now()
End Sub

then assign your own keyboard shortcut. see the above sites for available
keys.
to assign a keyboards shortcut...
on the 2003 menu bar click toolsmacromacro.
In the macro name box, enter the name of the macro you want to assign to a
keyboard shortcut key.
click options.
enter a letter in the shortcut key box. You can use ctrl+ letter (for
lowercase letters) or ctrl+shift+ letter (for uppercase letters), where
letter is any letter key on the keyboard. the shortcut key letter you use
cannot be a number or special character such as @ or #.
Note: the shortcut key will override any equivalent default microsoft excel
shortcut keys while the workbook that contains the macro is open.

if you want to include a description of the macro, type it in the
description box.

click OK.
click cancel.

regards
FSt1
"Scotta0471" wrote:

I know that CTRL + ; gives the current date, and I know that CTRL + SHIFT + :
gives the current time. Is there a keystroke that gives the current date AND
time? I'd like to enter a start time quickly in one column and then a
closing time in another and have it calculated in a third. The individuals
who will be filling out this spreadsheet need a very quick and dirty way to
do it. Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default needing a keystroke for the current date AND time

Hi Scott,

You can just combine the two with a space so
Ctrl + ; space Ctrl + Shift + :

It's a single handed operation if you use the
right side of the keyboard.

HTH
Martin


"Scotta0471" wrote in message
...
I know that CTRL + ; gives the current date, and I know that CTRL + SHIFT +
:
gives the current time. Is there a keystroke that gives the current date
AND
time? I'd like to enter a start time quickly in one column and then a
closing time in another and have it calculated in a third. The
individuals
who will be filling out this spreadsheet need a very quick and dirty way
to
do it. Thanks.



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
Current date and time for different log entries SBO Refiner Excel Discussion (Misc queries) 4 October 18th 07 03:57 PM
Current date and time when different cell = X Workaholic Excel Worksheet Functions 3 August 13th 06 12:49 AM
How to show current date and time vsr_kmb New Users to Excel 3 March 28th 06 04:09 PM
How do I sum within a set time frame from the current date? Skydiver Driver Excel Worksheet Functions 3 November 10th 05 03:43 AM
Can I automatically enter the current date or current time into a Ben New Users to Excel 7 October 19th 05 03:38 PM


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