+ Reply to Thread
Results 1 to 5 of 5

Close files without being prompted

  1. #1
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562

    Close files without being prompted

    I have code that opens a file, gathers information out of the file, and then closes the file. The program will loop through a large number of files, opening and closing each one.

    Is there a way to close a file without being prompted about saving the information or being notified of information in the clipboard. I am not modifiying the files so they just need to be closed and move to the next file.

    Thanks!

    Jeff

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Hi, Jeff. Try using:
    Please Login or Register  to view this content.
    HTH

    Jason

  3. #3
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562
    The following actually turns out to be what I am needing.

    Please Login or Register  to view this content.
    Jason, I appreciate your response.

    Jeff

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    No problem. Either one will work; I was just showing you one of the ways. You could also use:
    Please Login or Register  to view this content.
    Jason

  5. #5
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562
    Thanks, Jason. I appreciate the additional idea and I will give it a try. I always like having a couple of ways of doing something so if one doesn't work I have something else I can try.

    Jeff

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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