Thread: [Solved] Word to prn
View Single Post
 
Old 03-23-2010, 04:12 AM
Guessed's Avatar
Guessed Guessed is offline Windows Vista Office 2007
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You don't need a third party tool. The code to save the current document into the same directory could be as simple as this
Sub temp1()
Dim sFileName As String
sFileName = ActiveDocument.FullName
ActiveDocument.PrintOut Background:=False, PrintToFile:=True, OutputFileName:=sFileName & ".ps"
End Sub
Reply With Quote