Hi,

I am performing a mail merge in MS Word from VB6.

I give the user the option of previewing the print. This works good, except when the user closes the print preview they are left with the word document. I would like it if this was not the case, and when they closed the preview, they were just back to the application again.

Does anyone know how to achieve this?


Set oApp = CreateObject("Word.Application")

oApp.ActiveDocument.PrintPreview

Cheers,
Rayden