Solved

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

Posted on 2008-10-06
3
787 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

773 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