DeWaal Le Grange
Board Regular
- Joined
- Jun 17, 2009
- Messages
- 99
Hi excel expersts
needs some help with something
the following code conferst only the current sheet that i am working on to pdf, with some support of Cute pdf writer.
Sub PDF_Sheet()
Dim Filename As String
With ActiveSheet
Filename = .Range("A1")
.PrintOut Copies:=1, ActivePrinter:= _
"CutePDF Writer on CPW2:", Collate:=True
SendKeys Filename & "{ENTER}", False
End With
End Sub
what i need is a vba code that will confert all my sheets in the workbook to pdf.
please if someone can help me, it would be greatly appreciated.
thank you
DeWaal
needs some help with something
the following code conferst only the current sheet that i am working on to pdf, with some support of Cute pdf writer.
Sub PDF_Sheet()
Dim Filename As String
With ActiveSheet
Filename = .Range("A1")
.PrintOut Copies:=1, ActivePrinter:= _
"CutePDF Writer on CPW2:", Collate:=True
SendKeys Filename & "{ENTER}", False
End With
End Sub
what i need is a vba code that will confert all my sheets in the workbook to pdf.
please if someone can help me, it would be greatly appreciated.
thank you
DeWaal