Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2007

Tip: Looking for answers? Try searching our database.

Serial letter and macro not executing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karsten Wutzke - 20 Dec 2007 17:34 GMT
Hello!

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

http://groups.google.de/group/microsoft.public.word.docmanagement/browse_frm/thr
ead/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
Graham Mayor - 21 Dec 2007 07:18 GMT
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.

Signature

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Hello!
>
[quoted text clipped - 34 lines]
> TIA
> Karsten

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.