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
mactoolsix

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
UsernameIssues

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

-date-macro.png


My System SpecsSystem Spec
13 Feb 2013   #3
mactoolsix

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
UsernameIssues

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
mactoolsix

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
Thread Forum
Date calculation using Word 2010 table/field Syntax Error
I have a Word 2010 document and I want to have specific text appear if a date is more than 42 days away from today (whatever today happens to be). I've got a three-cell table that looks like: ________________________________________________________ | DATE: | 12/25/13 | {...
Microsoft Office
Macro Notification in Word
Howdy Folks: I need a little assistance in solving an annoyance relative to the thread title. Every time I open Word or a Word file I get the attached message. I have tried every setting in the Trust Centre with the same result. Any suggestions would be greatly appreciated. Regards Powell Lucas
Microsoft Office
Create permanent footer word 2010
i know how to create a footer. i want to create a permanent footer that has file name and path date file was created page x of y it would automatically be inserted in each new document.
Microsoft Office
MathType for word 2010 Macro settings error
Hello, I have Microsoft Office 2010 32bit installed, I installed MathType 6.7 today, and I'm getting errors on macro settings. I've looked it up on google, and enabled macro settings, copy the necessary files, but the same errors keeps popping up. When I launch Word 2010 I get this:...
Microsoft Office
Need To Create A Macro!
I currently have a spreadsheet that I use to record monthly payments, so that I can see how much my new balance is and how many more payments I have left. There are several different items over several rows in the table on the spreadsheet, so when I have made a payment I have to work out each...
Microsoft Office
How to insert a Macro into Word 2010 in Windows 7 & Assign Shortcut
I cannot find up to date, step by step instructions on creating a macro in Word 2010 on Windows 7. While in Word, View, I see Create Macros. And I can name it and paste in this info below. Sub PrintCurrentPage() Application.PrintOut Range:=wdPrintCurrentPage End Sub But how do I assign a...
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 20:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App