i have manage to print out word documents using vba in other word documents (ie one document has part numbers, a seperate document has the labels template) using this formula
Application.PrintOut FileName:="", Range:=wdPrintCurrentPage, Outputfilename:="C:\Temp\filename.doc", Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
Collate:=True, Background:=True, PrintToFile:=True, PrintZoomColumn:=0, _
PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
i now need to print a word document using using vba in excel (managers decided the write the part numbers in excel but keep labels in word)
i have tried using the same formula as above but i keep getting a run time error, do i need to the edit the above formula, if so what bits, or do i need a whole new formula again is so what.
Much appreciated
Application.PrintOut FileName:="", Range:=wdPrintCurrentPage, Outputfilename:="C:\Temp\filename.doc", Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
Collate:=True, Background:=True, PrintToFile:=True, PrintZoomColumn:=0, _
PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
i now need to print a word document using using vba in excel (managers decided the write the part numbers in excel but keep labels in word)
i have tried using the same formula as above but i keep getting a run time error, do i need to the edit the above formula, if so what bits, or do i need a whole new formula again is so what.
Much appreciated