+ Reply to Thread
Results 1 to 6 of 6

What keyboard shortcut gives me the CURRENT DATE and TIME?

  1. #1
    Forum Contributor
    Join Date
    10-23-2004
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    253

    Question What keyboard shortcut gives me the CURRENT DATE and TIME?

    I know that CTRL + ; will give me the current date.
    I know that CTRL + SHIFT + ; will give me the current time.

    Is there a keyboard shortcut that will give me both?

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: What keyboard shortcut gives me the CURRENT DATE and TIME?

    Well, I would guess you could do CTRL ; then Space then CTRL SHIFT ;

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: What keyboard shortcut gives me the CURRENT DATE and TIME?

    Create your own with a simple macro.

    Please Login or Register  to view this content.
    Assign the shortcut of your choice to the code above.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: What keyboard shortcut gives me the CURRENT DATE and TIME?

    What does the [ ] do? I know it sort of evaluates but it doesn't seem to do any difference her.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: What keyboard shortcut gives me the CURRENT DATE and TIME?

    Quote Originally Posted by Jacc View Post
    What does the [ ] do? I know it sort of evaluates but it doesn't seem to do any difference her.
    It does evaluate, it's used to calculate a worksheet formula in vba. NOW() is a worksheet function so I have always assumed that it would need to be evaluated.

    Guess it's just another of those things that can be done in different ways.

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: What keyboard shortcut gives me the CURRENT DATE and TIME?

    Right. I recall now that the [] can be used to evaluate worksheetfunctions. I did some research and it does not exist as a worksheetfunction in VBA. If you search for Now in the object browswer it pops up but it's a true VBA function. Now we know.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Date plus Initial keyboard shortcut
    By julianaholden in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2014, 04:28 AM
  2. date format shortcut for UK keyboard
    By davidx in forum Excel General
    Replies: 2
    Last Post: 06-29-2014, 07:04 AM
  3. Replies: 3
    Last Post: 02-21-2014, 10:19 AM
  4. Code to insert current date (but NOT current time)
    By mjwillyone in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2013, 09:37 AM
  5. [SOLVED] add current time (hh:mm:ss) as well as current date (dd:mm:yyyy) into the code
    By papasideris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2012, 02:29 PM
  6. Keyboard shortcut to insert current date
    By ice in forum Excel General
    Replies: 1
    Last Post: 01-29-2010, 11:50 AM
  7. [SOLVED] Can I automatically enter the current date or current time into a
    By Ben in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 10-19-2005, 11:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1