+ Reply to Thread
Results 1 to 5 of 5

Code To Determine if Lotus Notes App Is Open . .

  1. #1
    Registered User
    Join Date
    10-11-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    59

    Code To Determine if Lotus Notes App Is Open . .

    Hello,

    I have searched high and low for the answer to this with no luck. Before sending an email from excel through Lotus Notes, I would like to ensure Lotus Notes is open. If not open, I would like to leave it closed, but simeply tell the user they must open and log in to their Lotus Notes account. I would be very thankfull for any help.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Code To Determine if Lotus Notes App Is Open . .

    If it has a com interface, you can probably do something like getobject("lotusnotes.application")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Code To Determine if Lotus Notes App Is Open . .

    hi Evagrius,

    I would lead you to Xl-Denis's code directly but some of the links to his site don't seem to work (see http://www.rondebruin.nl/mail/links.htm).
    Have a look at this code: http://www.ureader.com/msg/104239641.aspx

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  4. #4
    Registered User
    Join Date
    10-11-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Code To Determine if Lotus Notes App Is Open . .

    Thanks for the tip fellas. I am not experienced enough with this level of programming to alter the codes in the links. The issue I face is I must check if Lotus Notes is open before the lines in the below code. Once the lines below run, they activate a session of Lotus Notes but don't allow the user to Log in - so the user has to close the session and re-initialize another session. Thank you for any help . .

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Code To Determine if Lotus Notes App Is Open . .

    hi,

    I don't have Lotus Notes any more so I can't test it, but doesn't the following code (from my previous link) test if Notes is open?
    Please Login or Register  to view this content.
    Although I don't have Notes I may be able to spot something in your code, so can you please show us all of your code rather than just a two line snippet?

    --------

    On second thoughts & after a bit of digging in my old files I found the below code which I have never tested...

    Please Login or Register  to view this content.
    hth
    Rob

+ 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