Create a Date macro Word 2010


  1. Posts : 3
    Win 7
       #1

    Create a Date macro Word 2010


    I'm having trouble creating a macro to insert the current date (static).

    Here's what I'm doing:
    View > Macros > Record
    Name: "Date"
    Store macro in: keyboard Shortcuts
    Click on keyboard picture
    Insert: CRTL+D & click Assign


    Record: I have tried all the following:

    (/@"mm,dd,yy")
    "mm,dd,yy"
    /@"mm,dd,yy"
    (/@ "mm,dd,yy")
    (DATE/@”mm/dd/yy”)


    Then Stop Recording

    When I hit CRTL+D I get exactly the code I put in instead of the date "02/12/13"

    What code should I be inserting to get today's date?

    Thanks, Mike
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Welcome to the Seven Forums.

    start recording
    select insert (upper left)
    select date & time (upper right)
    select the format that you want
    click OK to exit the dialog box
    stop recording

    Create a Date macro Word 2010-date-macro.png
      My Computer


  3. Posts : 3
    Win 7
    Thread Starter
       #3

    Macro "Initials & Date"


    Okay, that works.

    One other question . . . Is it possible to create a macro that will insert my initials & the date using just the CRTL+D keyboard combination?

    "MJR 2/13/13"

    Thanks!!

    Got it - played around and found out how to do it!

    Thanks again!!
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #4

    mactoolsix said:
    Okay, that works.

    One other question . . . Is it possible to create a macro that will insert my initials & the date using just the CRTL+D keyboard combination?

    "MJR 2/13/13"

    Thanks!!

    Got it - played around and found out how to do it!

    Thanks again!!
    I'll assume by "Got it - played around and found out how to do it!" that you figured out how to put in your initials and then the date... but for the sake of others that may visit your thread - I think that the solution would be to start recording your macro, then type whatever you want to type, then insert the date.
      My Computer


  5. Posts : 3
    Win 7
    Thread Starter
       #5

    Correct - I started the recording, and before inserting the date, I typed my initials, space, then inserted the date.

    Worked great
    Thanks again
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:58.
Find Us