+ Reply to Thread
Results 1 to 2 of 2

Auto-execute macro....

  1. #1
    Eric @ SEASH, Evansville
    Guest

    Auto-execute macro....

    How can you get a macro to automatically execute as the file is being closed,
    but before the file is saved ?

  2. #2
    William Horton
    Guest

    RE: Auto-execute macro....

    You could put your code in the BeforeClose event of the ThisWorkbook sheet
    module. You can then add to your code to see if the file has been saved or
    not. You can check the files Saved property.

    Bill Horton

    "Eric @ SEASH, Evansville" wrote:

    > How can you get a macro to automatically execute as the file is being closed,
    > but before the file is saved ?


+ 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