Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

Serial letter and macro not executing

 
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word vba general
View previous topic :: View next topic  
Author Message
Karsten Wutzke
Guest





PostPosted: Thu Dec 20, 2007 5:34 pm    Post subject: Serial letter and macro not executing Reply with quote

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/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
Back to top
Google
Sponsor





PostPosted: Thu Dec 20, 2007 5:34 pm    Post subject: Advertisement

Back to top
Graham Mayor
Guest





PostPosted: Fri Dec 21, 2007 7:18 am    Post subject: Re: Serial letter and macro not executing Reply with quote

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

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


Karsten Wutzke wrote:
Quote:
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/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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word vba general All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum