Oh, me-oh-my, what have I screwed up this time?
Why is "Worksheet.PrintOut Filename:=MyFile ActivePrinter:="Canon MX320 series Printer" rejected? Thanks.
Code:
Dim MyFile As String
MsgResult = MsgBox("BOOM! You're done. Print Copies?", vbYesNo, "")
If MsgResult = vbYes Then
MyFile = Dir("C:\Documents and Settings\*i*.xls")
Do While MyFile <> ""
Worksheet.PrintOut Filename:=MyFile ActivePrinter:="Canon MX320 series Printer"
MyFile = Dir()
Loop
Else: End If
Why is "Worksheet.PrintOut Filename:=MyFile ActivePrinter:="Canon MX320 series Printer" rejected? Thanks.