Closing a "master" document

  • Thread starter Robin Patterson
  • Start date
R

Robin Patterson

We use forms through iManage (a document management
system). When a user opens a form, merging begins. How
do I script a macro to close the master form, leaving
only the merged result open? Thanks in advance.
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

This is probably something that needs to be done in iManage of which I know
nothing. Without iManage, you could do something like

Dim MainDoc as Document
Set MainDoc = Documents.Open([path\filename of mailmerge main document]}
MainDoc.MailMerge.Execute 'Assumes that MainDoc has a datasource already
attached to it
MainDoc.Close wdDoNotSaveChanges


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top