![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I am trying to suppress the save dialog and cancel the save operation,
the following will throw an exception. Before the Olk2003 security patch using Item.Close 1 would cancel the save, but now there isn't a way to emulate this behavior any ideas? ------------------------------------- Option Explicit '--------------------------------------------------------------- ' FUNCTION: Item_Close '--------------------------------------------------------------- Function Item_Close() Item.Subject = Item.Subject + " - Modified" If Not Item.Saved Then 'adding error handling will display the save dialog 'On Error Resume Next Item.Save 'On Error Goto 0 End If Item_Close = True End Function '--------------------------------------------------------------- ' FUNCTION: Item_Write '--------------------------------------------------------------- Function Item_Write() Item_Write = False End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to suppress Reminder dialog box programatically | UB | Outlook - General Queries | 0 | December 11th 06 10:56 AM |
How to Suppress Address and Name details dialog box through VBScript | Satish Boddapati | Outlook - Using Forms | 0 | November 10th 06 05:50 AM |
How to Suppress Address and Name details dialog box through VBScript | Satish Boddapati | Outlook - General Queries | 0 | November 10th 06 05:49 AM |
How do I get File Save As Dialog Box for Attachments? | Mike M 91107 | Outlook and VBA | 3 | June 8th 06 11:36 PM |
bypassing save dialog box | philippe | Outlook - Using Forms | 5 | April 26th 06 02:52 PM |