!.....VBA program to Export (Activeworkbook & Activesheet) data into PDF File....!
Sub Export_to_PDF()
ActiveSheet.ExportAsFixedFormat xlTypePDF, "d:\abc1.pdf"
ActiveWorkbook.ExportAsFixedFormat xlTypePDF, "d:\abc2.pdf"
End Sub
Sub Export_to_PDF()
ActiveSheet.ExportAsFixedFormat xlTypePDF, "d:\abc1.pdf"
ActiveWorkbook.ExportAsFixedFormat xlTypePDF, "d:\abc2.pdf"
End Sub
No comments:
Post a Comment