+ Reply to Thread
Results 1 to 2 of 2

Outlook Again

  1. #1
    Forum Contributor
    Join Date
    01-19-2006
    Posts
    142

    Post Outlook Again

    Hi all,

    I have a function that opens Outlook but then loops continously until the Sent Items Folder count has incremented by 1 (confirming the email has been sent) but IF the user decides not to send the email, and closes excel then the do loop will carry on and on (like a duracell battery) and basically crashes excel.

    within my do loop I need something that can determine.check whether or not Outlook has been exited or something on those lines?!

    Any help appreciated! Cheers guys!

  2. #2
    Bob Phillips
    Guest

    Re: Outlook Again

    Closes Excel, do you mean Outlook? If so, just check if there is still an
    instance of Outlook running, using GetObject.

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with googlemail if mailing direct)

    "gti_jobert" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Hi all,
    >
    > I have a function that opens Outlook but then loops continously until
    > the Sent Items Folder count has incremented by 1 (confirming the email
    > has been sent) but IF the user decides not to send the email, and
    > closes excel then the do loop will carry on and on (like a duracell
    > battery) and basically crashes excel.
    >
    > within my do loop I need something that can determine.check whether or
    > not Outlook has been exited or something on those lines?!
    >
    > Any help appreciated! Cheers guys!
    >
    >
    > --
    > gti_jobert
    > ------------------------------------------------------------------------
    > gti_jobert's Profile:

    http://www.excelforum.com/member.php...o&userid=30634
    > View this thread: http://www.excelforum.com/showthread...hreadid=545784
    >




+ 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