Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Mailmerge & Word

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
If no attachment, dont send email - lotus notes/vba 10 387
Lotus Notes 6.5.5 6 224
Lotus notes - Follow up notes mail missing 15 77
IBM Lotus Notes Rules not working 5 239
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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