+ Reply to Thread
Results 1 to 5 of 5

difference application.quit & application.close

  1. #1
    Pierre via OfficeKB.com
    Guest

    difference application.quit & application.close

    Hi,

    just a small vba question for you...

    What is the difference between application.quit and application.close

    and when do i use quit and when close?

    Thanks,
    Pierre


    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...mming/200511/1

  2. #2
    Tom Ogilvy
    Guest

    Re: difference application.quit & application.close

    The biggest difference is that there is no Application.Close command. You
    quit the application (Excel) and close workbooks.

    That should make it easy.
    --
    Regards,
    Tom Ogilvy


    "Pierre via OfficeKB.com" <u13950@uwe> wrote in message
    news:570f479fefd39@uwe...
    > Hi,
    >
    > just a small vba question for you...
    >
    > What is the difference between application.quit and application.close
    >
    > and when do i use quit and when close?
    >
    > Thanks,
    > Pierre
    >
    >
    > --
    > Message posted via OfficeKB.com
    > http://www.officekb.com/Uwe/Forums.a...mming/200511/1




  3. #3
    Pierre via OfficeKB.com
    Guest

    Re: difference application.quit & application.close

    hi Tom,

    If i close a workbook throug a sub, does it still run the beforworkbookclose()
    sub?
    Thanks,
    Pierre

    Tom Ogilvy wrote:
    >The biggest difference is that there is no Application.Close command. You
    >quit the application (Excel) and close workbooks.
    >
    >That should make it easy.
    >> Hi,
    >>

    >[quoted text clipped - 6 lines]
    >> Thanks,
    >> Pierre



    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...mming/200511/1

  4. #4
    Tom Ogilvy
    Guest

    Re: difference application.quit & application.close

    the
    Workbook_BeforeClose event for the workbook being closed should run.

    --
    Regards,
    Tom Ogilvy

    "Pierre via OfficeKB.com" <u13950@uwe> wrote in message
    news:5710c98ae66ec@uwe...
    > hi Tom,
    >
    > If i close a workbook throug a sub, does it still run the

    beforworkbookclose()
    > sub?
    > Thanks,
    > Pierre
    >
    > Tom Ogilvy wrote:
    > >The biggest difference is that there is no Application.Close command.

    You
    > >quit the application (Excel) and close workbooks.
    > >
    > >That should make it easy.
    > >> Hi,
    > >>

    > >[quoted text clipped - 6 lines]
    > >> Thanks,
    > >> Pierre

    >
    >
    > --
    > Message posted via OfficeKB.com
    > http://www.officekb.com/Uwe/Forums.a...mming/200511/1




  5. #5
    Pierre via OfficeKB.com
    Guest

    Re: difference application.quit & application.close

    thanks Tom !
    Pierre

    Tom Ogilvy wrote:
    >the
    >Workbook_BeforeClose event for the workbook being closed should run.
    >
    >> hi Tom,
    >>

    >[quoted text clipped - 12 lines]
    >> >> Thanks,
    >> >> Pierre



    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...mming/200511/1

+ 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