Solved

Mailmerge & Word

Posted on 2001-09-18
5
326 Views
Last Modified: 2013-12-18
Hi,

I would like to know how to create a Word document (even better use a template) and fill it with values from a notes database. Typical example would be to mark several people from a database with addresses and send them a prepared letter.

I suppose this can be done by mailmerge, so let notes create a mailmerge file somewhere, and then start word with the appropriate letter and mailmerge so that it creates the 'ready-to-print' version.

A related, but possibly different, questions would be how to keep track of this letter in the send-history of those people in the notes database, and how to find back the Word-letter you've send (how to store this link, or the whole document into the notes database).

Thanks, Bert.
0
Comment
Question by:bmenting
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:zvonko
ID: 6491345
0
 

Author Comment

by:bmenting
ID: 6493413
Hi Zvonko,

Seems like the right direction. I ran into one problem: I don't really know what a 'bookmark' is in Word, and since we use Word in our own language, that doesn't help too much either (That is dutch b.t.w.). So the text I insert appears at the top of the document, and not in the desired 'field' in the template.

Also, do you happen to know about a detailed list with all available functions in notes for the Word OLE-object. I've searched at WWW but couldn't find anything in an hour...

Bye, Bert.
0
 
LVL 10

Accepted Solution

by:
zvonko earned 100 total points
ID: 6493488
OK Bert,

for your dutch Word version it is not a problem. Simply record a keystroke makro and lookup the VisaulBasic code of it. It is nearly the same code as for LotusScript with the exception that you do not have the Word constatants values (numeric). You have to lookup them in VB explorer. Press ALT-F11 in Word to goto the VB explorer.

For all Word functions available in LotusScript goto LotusDesigner, open a LotusScript agent and look into Reference tab for "OLEclasses". There will you find all installed OLE servers and their interfaces.

In any case you have to get familiar with this all, 'cose no example is as good to be cut'n pasted and up and running <|;-)

Regards,
zvonko
0
 

Author Comment

by:bmenting
ID: 6496977
Hey,

Think I'm on the right way. (un?!)fortunately I have a holliday next week, so I won't have time to test it for some days, but I'll give you the points right now!

Thanks, Bert.
0
 
LVL 10

Expert Comment

by:zvonko
ID: 6497382
Thanks for the points <|;-)
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question