P
Philippe Halet
Hi all,
I would like to add the ability to modified some document properties when a
file is closed. I'm trying to do that with the code below without success.
Any idea?
UserForm1.txtTitle.Text =
ActiveDocument.BuiltInDocumentProperties("Title")
UserForm1.Show vbModal
ActiveDocument.BuiltInDocumentProperties("Title") =
UserForm1.txtTitle.Text
With this code, the document properties is not modified... Very strange!
UserForm1 contains a text field to edit the title of the document and an OK
button.
TIA
Philippe Halet
I would like to add the ability to modified some document properties when a
file is closed. I'm trying to do that with the code below without success.
Any idea?
UserForm1.txtTitle.Text =
ActiveDocument.BuiltInDocumentProperties("Title")
UserForm1.Show vbModal
ActiveDocument.BuiltInDocumentProperties("Title") =
UserForm1.txtTitle.Text
With this code, the document properties is not modified... Very strange!
UserForm1 contains a text field to edit the title of the document and an OK
button.
TIA
Philippe Halet