How to transfer value from Notes to MS Word

Dear sir,

I would like to transfer the value from notes document to Microsoft Word document when new MS Word document launch.

How to create a field in MS Word, so that we can transfer the value there?

Please advise. Thanks

Subject: MS Word automation

Use Word com objects, starting with:Set msWordObject = CreateObject ( “Word.Application” )

and using methods like:

msWordObject.Application.WordBasic.SetDocumentProperty

msWordObject.Application.ActiveDocument.Fields.Update

msWordObject.Application.WordBasic.ww7_EditGoTo bookmarkname

etc… see VBA documentation for details.

Thierry Cayla

http://dominoeffects.serveblog.net

Subject: Notes to MS Word

I usually create Ref merge fields in Word (document automation) and then write the contents with script to the attachment and the fields with Getitemvalue, setitemvalue

To update headers and footers also, I found that I have to use:

Forall aStory In wdoc.StoryRanges

Forall fields In aStory.fields

fields.update

End Forall

End Forall

Don’t forget to test if field is available on document.