Solved

Mailmerge & Word

Posted on 2001-09-18
5
321 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now