Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word Macro Editing 3

Status
Not open for further replies.

hardies

IS-IT--Management
Oct 23, 2013
4
GB
Hi
I have a Word 2003 template with a couple of macros embedded one of which I need to change. My problem is that when I go into Tools -> Macro -> Macros nothing shows up and nothing shows in the VBA editor either.

What am I doing wrong?

Thanks.
 
Try hitting Alt_F11 to bring up the VBA screen. Look for any Modules and/or right click on ThisDocument and select View Code and see if there is any code there. We have GroupWise at our office and it will add code to Office products (can be rather annoying).
 
Thanks for your reply. I tried your suggestion but the VBA editor comes up blank too.

I know for a fact that there is at least 1 macro in this template as whenever you open it the current date is added. I need this macro changed to show the created date instead.

I'm really stumped!
 
>the current date is added

You are quite sure this isn't just a simple Word field?
 
Open the template and press Alt-F9. If, where your variable date appears, you see { DATE } instead, you have a filed, not a macro. Simply edit the field to read { CREATEDATE }, press Alt-F9 again and re-save the template

Cheers
Paul Edstein
[MS MVP - Word]
 
Well I've learned 2 things here; don't listen to the users and I really need to brush up on my Word skills!

It was just a field after all.

Thanks for your help.

 

Maybe, "don't listen to the unskilled Word users," cuz, after all, some skilled Word users have offered you some valuable tips for which they deserve recognition from you in the form of the little [purple]PURPLE STAR[/purple]!

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top