Results 1 to 10 of 21

Thread: Close All Open Excel Files With VBA Open Close File issue unsolved

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member
    Join Date
    Jul 2019
    Posts
    382
    Rep Power
    0

    Close All Open Excel Files With VBA Open Close File issue unsolved

    i need a macro
    i will place the macro in any file and i will run that macro
    and when i run that macro all files should be closed if there will be any opened file except the file in which macro is placed
    Last edited by DocAElstein; 06-24-2020 at 03:07 AM.

  2. #2
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    10,457
    Rep Power
    10
    Quote Originally Posted by fixer View Post
    i will place macro in any file and i will run that macro
    and when i run that macro all files should be closed if there will be any opened file except the file in which macro is placed
    Put this macro http://www.excelfox.com/forum/showth...ll=1#post12537 in any file.
    Run the macro
    All Excel files will be closed , except the file in which you have put the macro: The file with the macro will stay open. All other Excel files will be closed.
    Last edited by DocAElstein; 03-03-2020 at 05:14 PM.
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    KILL A MODERATOR!!

Similar Threads

  1. Replies: 1
    Last Post: 02-19-2015, 03:49 AM
  2. Replies: 4
    Last Post: 04-10-2014, 10:58 PM
  3. Replies: 6
    Last Post: 09-07-2013, 03:40 PM
  4. Replies: 15
    Last Post: 08-23-2013, 12:03 PM
  5. Replies: 4
    Last Post: 06-09-2013, 01:43 AM

Tags for this Thread

Posting Permissions

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