Consulting

Results 1 to 2 of 2

Thread: Open each excel file and then close it.

  1. #1

    Open each excel file and then close it.

    Hi,

    Could you please write me the following macro?
    Want to learn the code.


    Open each Excel file in a folder and then close it.

    For example, there are 2 Excel files in a folder.
    Step1: Open excel file 1.
    Step2: Close excel file 1.
    Step3: Open excel file 2.
    Step4: Close excel file 2.

    Thanks

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    VBA help - open, close
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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