How to make a column in outlook view Read only?

  • Thread starter Sue Mosher [MVP]
  • Start date
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
 
T

tomer

Hi,
I added a user defined fields and make it read only,but i understand
It have no affect on the view.

How to make a column in outlook view Read only?

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top