S
Sue Mosher [MVP]
You can't make a field in a view read-only by any direct means. The solution, if users have views with in-cell editing turned on, is to use code behind a custom form for the items to bar any changes from being saved unless the item is first opened:
Dim mblnIsOpen
Function Item_Open()
mblnIsOpen = True
End Function
Function Item_Write()
If Not mblnIsOpen Then
Item_Write = False
MsgBox "You must open this item to make changes."
End If
End Function
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
Dim mblnIsOpen
Function Item_Open()
mblnIsOpen = True
End Function
Function Item_Write()
If Not mblnIsOpen Then
Item_Write = False
MsgBox "You must open this item to make changes."
End If
End Function
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers