![]() |
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
|
|||
|
|||
![]()
Hello everybody,
I devoleped a form for which In-Cell editing would create undesireable changes in data. Because of the I applied Sues Moshers Workaround to disable In-Cell Editing: (http://www.outlookcode.com/codedetail.aspx?id=79) See below: code Sub Item_Open blnOKToSave = True End Sub Sub Item_Write() If Not blnOKToSave Then Set objExplorer = Application.ActiveExplorer objExplorer.CurrentView = "Aufgabenansicht (ohne Bearbeiten)" '### ERRORLINE! Item_Write = False End If End Sub /code I found out, that the changes I did to the fields in In-Cell View were restored by resetting the view or by actualizing it switching to another folder and back. I do not want the users to change the default view anyway. That brought me to the idea of restoring the view everytime a user tries to change an In-Cell value. ^^see code snippet above. The problem is now, that outlook completely crashes after running the errorline marked above. I don't mean a script error on Line yada yada. - There's an Outlook-Crash and a request for an Error-Report. Can you imagine why? However. On Outlook restart somehow the view I selected in the Errorline is show. Maybe because it's the default-view. Don't know. Any help is greatly appreciated. regards, Tobias Twardon |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
view folder size in outlook using a macro | john mcmichael | Outlook and VBA | 0 | May 4th 06 04:07 PM |
View free/busy not consisten in folder/schedule view & Exclusive l | ToĆ n | Outlook - Calandaring | 0 | February 9th 06 02:20 PM |
Outlook 2003 MST not applying correctly | Trevor Miller | Outlook - Installation | 3 | January 23rd 06 10:25 PM |
outlook 2003sp3: applying the inbuilt junkmail filter on existing messages? | [email protected] | Outlook - General Queries | 2 | January 18th 06 05:47 PM |
Outlook automatic folder categorization with shifting of the whole correspondence into the new built subfolder - VBScript needed | Michael Bauer | Outlook and VBA | 0 | January 9th 06 07:00 AM |