+ Reply to Thread
Results 1 to 2 of 2

printing multiple files w explorer but asks to save changes.how not get the window?

  1. #1
    Registered User
    Join Date
    04-07-2011
    Location
    Gent, Belgium
    MS-Off Ver
    Excel 2007
    Posts
    38

    printing multiple files w explorer but asks to save changes.how not get the window?

    Hi,

    When selecting multiple excel files in explorer, you can right click and choose to print the selected documents.
    All documents gets opened and printed but the files stay open and you have to manually click on YES or NO to save the changes.

    Is there a way not to see this window appear. So documents get opened and printed and closes itself without asking anything.
    Maybe it can be done with an option in the preferences. I'm not sure.

    By the way the documents where created with excel vba just in case it's relevant.
    Also the version of Excel is an older version, I think it was Excel XP or 2002/2003.

    Thanks in advance.

    Regards.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: printing multiple files w explorer but asks to save changes.how not get the window?

    HI gosa,

    In order to close the workbooks without manually clicking on Yes / no to save changes, you can use the code line [activeworkbook.close false] in your existing code. thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1