B
ben h
Hi,
From code I create a new document from my template. The code runs in a
document called "Wizard.vsd" for sake of argument. The code creates a
new document based on a template called "template.vst" using the call:
Set fnCreateNewDocumentFromTemplate = Application.Documents.AddEx( _
strTemplateName, intMeasurementSystem, lngOpenSaveArgs)
Issue is: when the new document is created, a prompt is displayed asking
about macro security, even though the template has no macros in it.
What's happening? How do i stop it?
I know I can "visAddMacrosDisabled" to the OpenSaveArgs, but is that the
resolution? Why is it asking about macros when there aren't any?
Ben
From code I create a new document from my template. The code runs in a
document called "Wizard.vsd" for sake of argument. The code creates a
new document based on a template called "template.vst" using the call:
Set fnCreateNewDocumentFromTemplate = Application.Documents.AddEx( _
strTemplateName, intMeasurementSystem, lngOpenSaveArgs)
Issue is: when the new document is created, a prompt is displayed asking
about macro security, even though the template has no macros in it.
What's happening? How do i stop it?
I know I can "visAddMacrosDisabled" to the OpenSaveArgs, but is that the
resolution? Why is it asking about macros when there aren't any?
Ben