Прочел информацию по этой ссылке: внешняя ссылка
Ограничение длины поля Свойство документа не снять. К сожалению.
Но, вместо Свойства документа можно использовать docvariable. Минус - нет диалогового окна для работы с этими variable.
Вот пример, который взят из вышеприведенной ссылки. Результат его применения (надо макрос создать) наглядно демонстрирует, что поле docvariable может иметь длину 500 символов (в данном случае используется символ А), а docproperty нет.
"It is a restriction that can't be changed. I didn't find any official
documentation of this, but the result of the following macro makes it clear
that Word truncates the input to 255 characters:
Sub x()
Dim mystr As String
Dim myCP As DocumentProperty
mystr = String(260, "A")
ActiveDocument.CustomDocumentProperties.Add _
Name:="test1", LinkToContent:=False, _
Type:=msoPropertyTypeString, _
Value:=mystr
MsgBox Len(ActiveDocument.CustomDocumentProperties("test1").Value)
End Sub
However, there is no such restriction on document *variables*, as the result
of this similar macro shows:
Sub y()
Dim mystr As String
Dim myVar As Variable
mystr = String(500, "A")
ActiveDocument.Variables.Add _
Name:="test1", Value:=mystr
MsgBox Len(ActiveDocument.Variables("test1").Value)
End Sub
In the document, you can display the value of the variable with a field
{DOCVARIABLE test1}."