Can Excel add the date?

K

kevs

I don't see a way to put the date in toolbar, so I can quickly click on it
and have it enters today's date on a cell. thanks!


Kevs
OS 10.4.11
Office 2004
 
J

JE McGimpsey

kevs <[email protected]> said:
I don't see a way to put the date in toolbar, so I can quickly click on it
and have it enters today's date on a cell. thanks!

There's no built-in control to do that. You can type CTRL-; to insert
the date.

You could create a macro to do that and store it in your Personal Macro
Workbook or an add-in - is that something you're interested in? Perhaps
something like:

Public Sub InsertDate()
Const sFORMAT As String = "dd MMM yyyy"
If TypeOf Selection Is Range Then
With Selection.Cells
.Value = Date
.NumberFormat = sFORMAT
End With
End If
End Sub

Just put a Macro button on the toolbar and attach that macro to it.
 
B

Bob Greenblatt

I don't see a way to put the date in toolbar, so I can quickly click on it
and have it enters today's date on a cell. thanks!


Kevs
OS 10.4.11
Office 2004
How about just keying control ;?
 
H

Harvey Waxman

JE McGimpsey said:
There's no built-in control to do that. You can type CTRL-; to insert
the date.

I type cmd+hyphen and get today's date. I don't know why it works but it does.
I have no macros that do it nor any keyboard commands listed for it.

ctrl+; works too. Strange

Excel X
 
B

Bob Greenblatt

I type cmd+hyphen and get today's date. I don't know why it works but it
does.
I have no macros that do it nor any keyboard commands listed for it.

ctrl+; works too. Strange

Excel X
You don't need macros, it's a built in keyboard short cut that has been
around forever. Search Help for keyboard shortcuts, and you'll find a whole
bunch of goodies.
 
H

Harvey Waxman

Bob Greenblatt <[email protected]> said:
You don't need macros, it's a built in keyboard short cut that has been
around forever. Search Help for keyboard shortcuts, and you'll find a whole
bunch of goodies.


I did that but couldn't find the cmd hyphen anywhere
 
P

Phillip Jones

Try hold down command key (Apple Key Cloverleaf Key) then type the key
next to the Plus /equal sin on the row that has the numbers. un shifted
its hyphen, shifted its underscore. :-\

Harvey said:
I did that but couldn't find the cmd hyphen anywhere

--
------------------------------------------------------------------------
Phillip M. Jones, CET |LIFE MEMBER: VPEA ETA-I, NESDA, ISCET, Sterling
616 Liberty Street |Who's Who. PHONE:276-632-5045, FAX:276-632-0868
Martinsville Va 24112 |[email protected], ICQ11269732, AIM pjonescet
------------------------------------------------------------------------

If it's "fixed", don't "break it"!

mailto:p[email protected]

<http://www.kimbanet.com/~pjones/default.htm>
<http://www.kimbanet.com/~pjones/90th_Birthday/index.htm>
<http://www.kimbanet.com/~pjones/Fulcher/default.html>
<http://www.kimbanet.com/~pjones/Harris/default.htm>
<http://www.kimbanet.com/~pjones/Jones/default.htm>

<http://www.vpea.org>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top