Solved

Suppress or auto reply to Lotus Notes dialog from VBA under Excel

Posted on 2008-10-06
3
780 Views
Last Modified: 2012-08-14
I am entering reminders in Lotus Notes calendar using dates from an Excel worksheet.
I am using Excel 2003 and VBA with NOTESUIWORKSPACE to communicate with Notes.
I am taking data/dates from a worksheet and creating reminders on a notes calendar.

All is fine until the program encounters a (perfectly valid) appointment date that is in the past.
Notes pops up a dialog box which says  "This entry is being created in the past, Create anyway?" and the option to click 'yes' or 'no'

I either need to supress this message and let the entry continue of automatically. reply with 'yes'.

Is there a function similar to displayalerts = false under Notes?.. or does anybody have another solution to this.

Thanks.
0
Comment
Question by:GlennJWalker
  • 2
3 Comments
 

Author Comment

by:GlennJWalker
ID: 22701121
Increased to 500 points for solution...

Thanks.
0
 
LVL 10

Accepted Solution

by:
pkhari earned 500 total points
ID: 22743257
Ok, my thoughts...

Use the SendKeys method of VBA to pass an <Enter> key effect to the Notes window..

For example of this, look up here:
http://www.tek-tips.com/faqs.cfm?fid=5037
http://support.microsoft.com/kb/213815/en-us

Cheers,
P.K.
0
 

Author Closing Comment

by:GlennJWalker
ID: 31510215
Thanks for that.
As a newbie, I didn't know that sendkeys was an option.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now