Serial letter and macro not executing

K

Karsten Wutzke

Hello!

I've recently had a discussion in microsoft.public.word.docmanagement
(e.g.):

http://groups.google.de/group/micro...anagement/browse_frm/thread/2fb4bf4f066371c8/

That discussion simply leads to

http://www.gmayor.com/individual_merge_letters.htm

That tip stated to use a macro to achieve what I need. I manage to
enter the macro via the VB editor, but I only want to make the macro
available for this one DOC file, so I choose Extras -> Macro ->
Macros..., highlight the macro and choose "Macros in" (dropdown)
'abcdef.doc (Document)', not 'All active...'...

Is that right?

Anyway, whenever I choose "Merge to new document" (Seriendruck in
neues Dokument) the dialog to select the data sets is displayed,
pressing OK simply creates a new document on Word showing all
instances of the letters in one file.

To me this looks like the macro isn't hooked into that process.

What am I doing wrong here?

Executing the macro manually shows the dialogs as expected, but it
doesn't create one file per letter/data set anything (probably because
the selection of letters is empty, zero length, so an empty loop is
executed).

I'd be glad if someone could tell me how to make the macro run when
'Merge to new document' is executed.

TIA
Karsten
 
G

Graham Mayor

There are two kinds of macro on my web page. There is an add-in that
functions when you merge to a new document, and others which require you to
merge to a new document *before* you run them. You appear to have installed
the latter.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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