Results 1 to 3 of 3

Thread: exit after print (wordbasic) with VB

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Location
    Turkey
    Posts
    3

    Question exit after print (wordbasic) with VB

    I am desperately seeking the solution of the problem in using FileExit in a print procedure of VisualBasic.

    A word template is used to print the data from a database. The data are inserted on the proper places of the template. If the number of the rows is more than 15 Word document is saved (FileSaveAs), closed (FileClose) and then another document is opened (FileOpen) for each 15 rows. But I cannot exit Word (FileExit). If I use it, Word prompts me that "Word is currently printing... if yes ...cancel". If I donot use it Word directly prints but Word stays open. At the end, there will be one or more open Word applications.

    How can I manage to Exit the Word after printing?
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width