View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Curt Curt is offline
external usenet poster
 
Posts: 469
Default named argument not found

doing something wrong
recorder with macro recorder worked fine in letterhead now can't find?

Dim Word As New Word.Application
Dim WordDoc As New Word.Document
Word.Visible = True
Set WordDoc = Word.Documents.Open("C:\parade\letterhead.doc")
With WordDoc
Application.Run MacroName:="Macro3"
ActiveWindow.Close
End With