#1   Report Post  
mike47338
 
Posts: n/a
Default Time Entry

Is there any way to enter the current time in a selected sell by only
pressing 1 (one) key? (as opposed to Ctrl-Shift-;)
  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Not that I know of.

How about a one-click button and some code.

Sub NOWTIME()
With ActiveCell
.Value = Format(Now(), "h:mm:ss AM/PM")
.Columns.AutoFit
End With
End Sub


OR you could run the code from a shortcut key combo CRTL + T

One less keystroke.

Gord Dibben Excel MVP

On Thu, 18 Nov 2004 08:00:06 -0800, mike47338
wrote:

Is there any way to enter the current time in a selected sell by only
pressing 1 (one) key? (as opposed to Ctrl-Shift-;)


  #4   Report Post  
mike47338
 
Posts: n/a
Default

Thanks. That was exactly what I was looking for.

"Gord Dibben" wrote:

Not that I know of.

How about a one-click button and some code.

Sub NOWTIME()
With ActiveCell
.Value = Format(Now(), "h:mm:ss AM/PM")
.Columns.AutoFit
End With
End Sub


OR you could run the code from a shortcut key combo CRTL + T

One less keystroke.

Gord Dibben Excel MVP

On Thu, 18 Nov 2004 08:00:06 -0800, mike47338
wrote:

Is there any way to enter the current time in a selected sell by only
pressing 1 (one) key? (as opposed to Ctrl-Shift-;)



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
Time entry leah Excel Discussion (Misc queries) 9 January 18th 05 01:47 PM
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM
Time Format Auto Entry AM and PM BulaMan Excel Discussion (Misc queries) 1 December 15th 04 09:30 AM
time formatting and time categorizing (vlookup or data validation) MarianneR Excel Worksheet Functions 4 November 18th 04 03:24 PM


All times are GMT +1. The time now is 10:08 PM.

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"