My goodness, that is quite the path!
Here's the corrected code:
Dim myFile, strLookin As String 'this is the full directory path
strLookin = "L:\Athens\Department Shared\Documentation\APPROVED\Analytical
Work Sheets\Material\*.doc"
myFile = Dir$(strLookin)
Do While myFile <> ""
Application.PrintOut FileName:=myFile, Range:=wdPrintRangeOfPages,
Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="p1s1", PageType:= _
wdPrintAllPages, ManualDuplexPrint:=False, Collate:=True,
Background:= _
True, PrintToFile:=False, PrintZoomColumn:=0, PrintZoomRow:=0, _
PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
myFile = Dir$
Loop
Here's the main issue:
Application.PrintOut FileName:="" Needs the current filename (namely,
myFile). So, it looks like this: Application.PrintOut FileName:=myFile (no
quotes when it's a variable in place of a string).
Also, for safety's sake, to make sure it prints page 1 of section 1:
Pages:="p1s1"
For real safety's sake, you should use the network's actual directory
instead of a mapped drive. This way, if the mapped drive is changed, it
won't affect the code: (e.g., it will look something like this:
"\\DOCS\VOL1\Athens\Department Shared\Documentation\APPROVED\Analytical
Work Sheets\Material\*.doc"). Of course, you'll need to replace the
\\docs\vol1 with the correct network drive - don't forget to use double
backslashes in the beginning.