Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Create a Date macro Word 2010


13 Feb 2013   #1

Win 7
 
 
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 System SpecsSystem Spec
.

13 Feb 2013   #2

W7 Pro SP1 64bit
 
 

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 System SpecsSystem Spec
13 Feb 2013   #3

Win 7
 
 
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 System SpecsSystem Spec
.


14 Feb 2013   #4

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by mactoolsix View Post
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 System SpecsSystem Spec
14 Feb 2013   #5

Win 7
 
 

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

Worked great
Thanks again
My System SpecsSystem Spec
Reply

 Create a Date macro Word 2010




Thread Tools



Similar help and support threads for2: Create a Date macro Word 2010
Thread Forum
Date calculation using Word 2010 table/field Syntax Error Microsoft Office
Macro Notification in Word Microsoft Office
Create permanent footer word 2010 Microsoft Office
Making Macro in Word 10 Microsoft Office
MathType for word 2010 Macro settings error Microsoft Office
How to insert a Macro into Word 2010 in Windows 7 & Assign Shortcut Microsoft Office
Add a custom macro menu to Word. Microsoft Office

Our Sites

Site Links

About Us

Find 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 09:47 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33