View Full Version : Creating report from Word file


Jonny
10-15-2009, 01:08 PM
I have some procedure in *doc format, is any way to export it to Access to add a few fields from Access and to make from it a report?

wiklendt
10-21-2009, 05:10 AM
you mean like a mail merge?

Jonny
10-21-2009, 05:33 AM
Hi wiklendt, I attacked the problem from another side. I added bookmarks in my *doc file, and pointed to those bookmarks from Access code.
Example:

Set objRange = doc.Goto(What:=wdGoToBookmark, Name:="bkmSamples")
objRange.InsertAfter (Samples_ID.Value)

Regards..

wiklendt
10-21-2009, 03:53 PM
.... and... did it work?

Jonny
10-22-2009, 05:43 AM
Yes, sure, why not.

wiklendt
10-22-2009, 12:31 PM
just making sure. a lot of people write that they find a different method, so everyone thinks they have it solved, then a few days later they put up an upset post asking why people are ignoring their problem....

glad you sorted it out, but especially appreciative that you posted your successful result - it will help many others :)