Results 1 to 4 of 4

Thread: Closing files

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    6

    Closing files

    I would klike to write a macro for closing (without promp for save) all files opened that are cointaned in the folder named "pippo". I files are .xls and .doc.
    Do you have any idea?
    Thanks in advance for your help

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Closing files

    From what platform do you want to do this (baring in mind that VB does use macros, VBA does.)?

    Also, why do you want to do this espcially without providing the user the opportunity of saving their work? This sounds a bit suspect.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    6

    Re: Closing files

    Thanks for the replay
    I would like to do this from excel (Vb in excel). I don't need to save the files...because they are only temporary files that I use for other main files..I'm the owner of these files and the only person who use these files. they are on my personal pc.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Closing files

    As this is more a VBA question than a VB question, it has been moved from ClassicVb.

Posting Permissions

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



Click Here to Expand Forum to Full Width