Macro help please!

G

Guest

I'm completely new to Word 2007. While trying to figure out how to have all
my business cards absorb the same changes I made to one, i went to Graham
Major's site and downloaded what i thought was the right macro.
I created the macro, but now I can't get things that I used to be able to
do. For example, I created a template wherein I inserted the date update with
each new letter. It worked fine, until I installed this macro. Now, where the
date is supposed to show up on the template, I get a strange configuration of
characters that says:

{DATE\@"M/d/yyyy"}

No date shows up on the letter. How do I get my old system back? I've
deleted what I though was the macro that caused the problem, but the above
keeps showing up whenever I go to insert a date.

Help Please!
 
G

Guest

You only need to toggle field codes. To do this, press Alt+F9.

The date is a field and fields can be in two modes: they can show the
result, i.e. the content that will print, or they can show the code behind.
Alt+F9 toggles field codes on and off.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 
G

Guest

Thanks, Lene! That fixed it! Now once I toggle the field codes, will they
stay that way? Or must I toggle for every new document?

And what caused them to "toggle" without my input?

Once again, my thanks for your help.
 
G

Graham Mayor

It should hold until you toggle it back again. The ability to display the
construction or content of a field is an essential tool.
The macro you downloaded from http://www.gmayor.com/graphics_on_labels.htm
toggles the display to show the content. I will modify it this morning to
reset the view to what it was when you ran the macro. I'll post back when
the revised code is in place.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Guest

Thanks, Graham, although the toggle held without it. But I'm having a devil
of a time understanding this whole macro world. Sometimes I see what looks
like a little cassette player attached to my cursor, sometimes i don't. I
can't seem to get the process of launching a macro, let alone utilizing it
once it's launched. Is there some sort of "Macros for Dummies" site I can
access?

Microsoft Help doesn't seem to cut it.

I tried to create a business card and launch your macro to apply the changes
I made to one to all of them. No go.

I appreciate your assistance so far, too.
 
G

Graham Mayor

My expertise with Word 2007 is relatively slim, but for access to macros you
need first to add the Developer tab to the Ribbon. Presumably you have got
that far as you appear to have installed the macro. But see
http://www.gmayor.com/installing_macro.htm . The dialogs are for Word 2003,
but the essentials are identical for Word 2007

The macro is intended to work on the table produced by the labels tool on
the Mailings tab. Create your content in the first label, then run the macro
from Developer > Macros .

I have tested and it works fine in Word 2007 though it runs much faster in
Word 2003 :(.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Suzanne S. Barnhill

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top