1

Topic: How to interpose the data into a Word?? Help

Good afternoon, ! Only I study programming, prompt in what an error, I can not interpose into Word bookmarks the data with .
In advance thanks

2

Re: How to interpose the data into a Word?? Help

Benidorm;

Private Sub butWord_Click ()
Dim WD As Object
Set WD = CreateObject ("Word. Application")
WD.Documents. Open FileName: = CurrentProject. Path AND "\1-3.dot"
WD.Visible = True
WD.Application. WindowState = 1
WD.Activate
WD.activedocument. Bookmarks ("").Range. Text = Nz (, "")
End Sub

3

Re: How to interpose the data into a Word?? Help

Many thanks now I will try.

4

Re: How to interpose the data into a Word?? Help

Can Some councils about creation of documents in Word from Access [/url] helps [url=http://am.rusimport.ru/MSAccess/topic.aspx?ID=586]

5

Re: How to interpose the data into a Word?? Help

wrote:

Benidorm;

Private Sub butWord_Click ()
Dim WD As Object
Set WD = CreateObject ("Word. Application")
WD.Documents. Open FileName: = CurrentProject. Path AND "\1-3.dot"
WD.Visible = True
WD.Application. WindowState = 1
WD.Activate
WD.activedocument. Bookmarks ("").Range. Text = Nz (, "")
End Sub

Thanks huge, work!