A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Suppress the save dialog, exceptions occur...



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 27th 07, 01:54 PM posted to microsoft.public.outlook.program_forms
KevinH
external usenet poster
 
Posts: 1
Default Suppress the save dialog, exceptions occur...

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 12:35 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.