Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Aug 2006
    Location
    Gtr London, England
    Posts
    256
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Overide Save dialog box (2003)

    Hi,

    Ive written a mail merge macro to produce some labels, which all works fine, however, the user will not be required to save the labels and I cant seem to remove the save dialog option box when executing 'ActiveWindow.Application.Quit'.......'Application .DisplayAlerts = False' doesnt seem to make a difference.

    Any Ideas ??

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Overide Save dialog box (2003)

    Try
    <code>
    ActiveWindow.Application.Quit SaveChanges:=False
    </code>
    This tells Word to discard changes in all (!) open documents.

  3. #3
    3 Star Lounger
    Join Date
    Aug 2006
    Location
    Gtr London, England
    Posts
    256
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: Overide Save dialog box (2003)

    Cheers Hans,

    That works a treat. <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

Posting Permissions

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