ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disable Warning Message from Microsoft Outlook in Excel VBA (https://www.excelbanter.com/excel-programming/321135-disable-warning-message-microsoft-outlook-excel-vba.html)

Harvey[_4_]

Disable Warning Message from Microsoft Outlook in Excel VBA
 
you can use the sendkeys command to send a the hotkey y to outlook.
This has the same effect as when you click yes, only the macro does it
for you this time. You have to wait 5 seconds before using te sendkey
command in order for it to work (outlook waits 5 seconds before
enabling the yes button)


All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com