Sargad_Strut
New Member
- Joined
- Mar 28, 2014
- Messages
- 44
Hi guys,
Yes, I know this question have been posted before, but I couldn't make use of the suggestions I found.
This is my current code:
Sub SaveAllAsPDF()
Dim wsh As Worksheet, vWshs, vWshName
RptDatum = Range("C10")
vWshs = Array("SheetX", "SheetY", "SheetZ")
With ActiveWorkbook
For Each vWshName In vWshs
.Worksheets(vWshName).<wbr>ExportAsFixedFormat Type:=xlTypePDF, _
Filename:="G:\MyFolder\" & RptDatum & vWshName, Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False
Next vWshName
End With
End Sub
It's working just fine, but I'd like to merge the sheets into a single PDF.
Any help would be much appreciated!
Yes, I know this question have been posted before, but I couldn't make use of the suggestions I found.
This is my current code:
Sub SaveAllAsPDF()
Dim wsh As Worksheet, vWshs, vWshName
RptDatum = Range("C10")
vWshs = Array("SheetX", "SheetY", "SheetZ")
With ActiveWorkbook
For Each vWshName In vWshs
.Worksheets(vWshName).<wbr>ExportAsFixedFormat Type:=xlTypePDF, _
Filename:="G:\MyFolder\" & RptDatum & vWshName, Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False
Next vWshName
End With
End Sub
It's working just fine, but I'd like to merge the sheets into a single PDF.
Any help would be much appreciated!