J
James
I am writing some VBA code in which I need to determine if a document is a
document (.doc) or a template (.dot). I found the Doument.Type property which
Ithought would provide the answer, but when I open a template and retrieve
the Document.Type property, it returns a value of wdTypeDocument, and not
wdTypeTemplate, as expected.
Is this not what this property represents? If not, how else can I determine
if a document is a document or template? The Document.Name property doesn't
contain the file extension.
document (.doc) or a template (.dot). I found the Doument.Type property which
Ithought would provide the answer, but when I open a template and retrieve
the Document.Type property, it returns a value of wdTypeDocument, and not
wdTypeTemplate, as expected.
Is this not what this property represents? If not, how else can I determine
if a document is a document or template? The Document.Name property doesn't
contain the file extension.