S
slickdock
I have an MSAccess application that exports some data to word, then formats
the word screen. This code executes from MSAccess after Word has opened a
document and Word is in the footer of that document. This code has always
worked since Word 97, but now Word 2007 dies at this point:
wd.NormalTemplate.AutoTextEntries("Filename and path").Insert _
wd.Selection.Range
I'd like to find code that would work for either version if possible, rather
than having to have 2 different bits of code depending on the version of Word
that is in use on the machine.
Thank you.
the word screen. This code executes from MSAccess after Word has opened a
document and Word is in the footer of that document. This code has always
worked since Word 97, but now Word 2007 dies at this point:
wd.NormalTemplate.AutoTextEntries("Filename and path").Insert _
wd.Selection.Range
I'd like to find code that would work for either version if possible, rather
than having to have 2 different bits of code depending on the version of Word
that is in use on the machine.
Thank you.