Hi umesh,
Quote:
it also disables the field for table of contents fields
|
I doubt it - the code specifically tests whether the field is a DATE field before applying the lock. You can see it quite clearly in this line:
If Fld.Type = wdFieldDate Then Fld.Locked = True
I suspect you locked the TOC by some other means.