I am using VBA in Word 97, Windows 95. I need a macro that will print all
the documents in the current directory of the active document. I tried the
following code but got an error message stating "sub or procedure not defined"
(a message I get frequently when working with files) and files$ was highlighted.
This has jammed me up on my project for 4 days now. Can you please help?

Sub PrintFile()
doc$ = Files$("*.doc")
While doc$<>""
FilePrint.FileName = doc$