Runtime error 429
It needs an instance of Word in which to open the document... Give this a
try...
dim appWord as object
dim myDoc as object
set appWord = CreateObject("Word.Application")
set myDoc =
appWord.Documents.Open("\\powervault2\home_pl\comm on\Referrals\Referal Agency
-
Ecology.doc")
--
HTH...
Jim Thomlinson
"Michelle Hanan" wrote:
I have a macro that will not run consistantly, keeps getting runtime errror
429: activex component can't creat object. Are my set and dim codes
wrong:??
Dim myDoc As Word.Document
Set myDoc =
Word.Documents.Open("\\powervault2\home_pl\common\ Referrals\Referal Agency -
Ecology.doc")
|