Solved

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

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

910 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

24 Experts available now in Live!

Get 1:1 Help Now