1

Topic: Merge to a Word through a macro

Hello!

2

Re: Merge to a Word through a macro

Xenia;
Did not add.
It is necessary for me, that on pushing the button, help in a Word (on a template) on specific record was deduced.
Let's admit, there is at me Vasja/Petja/Natasha. In shape I open record with Vasej. I CLICK on a button, there is a discovery of the document a Word to the gated in fields in advance (: Hello, [a name]! We invite you in [time] [date])
How to select in what document to produce merge when you try to make a macro?
16

3

Re: Merge to a Word through a macro

- wrote:

How to select in what document to produce merge when you try to make a macro?

As all beginners of the code are afraid - directly
They went in cycles in macroes
Do then through merge , from WORD-a
Programming it is not required, even macroes
One buttons of the standard panel
When cannot receive wished, return in  and write the code on VBA

4

Re: Merge to a Word through a macro

Example from a site leadersoft.ru that is necessary to you.
Can look and here Some councils about creation of documents in Word from Access

5

Re: Merge to a Word through a macro

Forgot to add. Look at an example of creation of the document on the basis of a template. On mine 3 variant.

6

Re: Merge to a Word through a macro

wrote:

as all beginners of the code are afraid - directly
They went in cycles in macroes

+1
Macroes are crutches for those who programs by means of a mouse