B
Byron
This line of code is in a VB6 app that opens Word and creates a new
document based on one of 350 templates. This line of code is making
Word change the Saved property of the template from true to false.
When the user saves the document, Word also changes the date of the
template. The variable is declared as a Date
vTemplateRevisionDate =
..ActiveDocument.AttachedTemplate.BuiltInDocumentProperties("Last save
time").Value
I added "If .ActiveDocument.AttachedTemplate.Saved = False then
..ActiveDocument.AttachedTemplate.Saved = True" as a workaround but I'd
like to know why it's happening in the first place.
Thanks,
Byron
document based on one of 350 templates. This line of code is making
Word change the Saved property of the template from true to false.
When the user saves the document, Word also changes the date of the
template. The variable is declared as a Date
vTemplateRevisionDate =
..ActiveDocument.AttachedTemplate.BuiltInDocumentProperties("Last save
time").Value
I added "If .ActiveDocument.AttachedTemplate.Saved = False then
..ActiveDocument.AttachedTemplate.Saved = True" as a workaround but I'd
like to know why it's happening in the first place.
Thanks,
Byron