We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

wordfields

Hi,
One of my needs when using docIO will be able to update CustomDocumentProperties. Not only its value but also update the fields within the document.
The first need is solved, but how can i do the second one?

Thanks in advance.

1 Reply

PR Poornima R Syncfusion Team January 29, 2010 01:07 PM UTC

Hi Oscar,

Thank you for your interest in Syncfusion Products.

EssentialDocIO will not update the fields automatically.As a workaround could you please create the macro for any one of the word document with the following code snippet.

Code:
Sub AutoOpen()
Dim aStory As Range
Dim aField As Field
For Each aStory In ActiveDocument.StoryRanges
For Each aField In aStory.Fields
aField.Update
Next aField
Next aStory
End Sub

For more information regarding the automatic updation of fields, please refer the following link

http://support.microsoft.com/kb/212703/



Please let us know if you have any queries.

Regards,
Poornima

Loader.
Live Chat Icon For mobile
Up arrow icon