logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Chris H
    • Posted on Mon 15 Mar 2004 11:31

    NTD, you can create a word doc via an agent the same way you do with excel. You can then use print statements to write content out. OK it's a bit limiting but you can write text and tables etc... Just write something like this:

    ' Declare variables

    Dim session As New NotesSession

    Dim docWeb As notesdocument

    Set docWeb = session.DocumentContext

    ' Define content type as

    Print |Content-Type:application/msword|

    Anything you print will now appear in a word document (You will probably be prompted to open the file). To create a table just print out HTML table tags as usual.

    You'll need to play with different tags and attributes to see what works and what doesn't.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: