I have just tried using the macro recorder. It gave
Application.ActivePrinter = "deskPDF on DDM:"
ExecuteExcel4Macro "PRINT(1,,,1,,,,,,,,2,""deskPDF on DDM:"",,TRUE
+,,FALSE)"
I have done this before but always struggle partly because I have no experience of VBA.
I suspect that Application.ActivePrinter becomes something like Applciation->ActivePrinter but I am not sure what should come before this.
I am not all sure how to change the Execute line.
Finally, although I did give a file name before I stopped the macro I could not see this in the recorded code.
I do mind at all do the work it is just the way to go about it is a bit obscure.
|