J
justagrunt
Hi,
I've used a program (copied and pasted it from a Microsoft recommended site)
with the use of the windows API to sellect an excel spreadsheet, get is path,
with success, when I use the same, to open a word document it gives me a
'Bad file name error.
Is there a way to use the explorer to find a word document so that it can be
used in and expression like,
Set objDocs = objWord.Documents.Add(strwordTemplate)
where
strwordTemplate
is the path to the document.
I've used a program (copied and pasted it from a Microsoft recommended site)
with the use of the windows API to sellect an excel spreadsheet, get is path,
with success, when I use the same, to open a word document it gives me a
'Bad file name error.
Is there a way to use the explorer to find a word document so that it can be
used in and expression like,
Set objDocs = objWord.Documents.Add(strwordTemplate)
where
strwordTemplate
is the path to the document.