Code to Convert Excel to PDF using VB.NET
问题 I have VB code to convert .xlsx to .pdf in SCRIPT TASK. When I run the task its running successfully without any erros. But the Excel file is not converting to pdf format. I have added Microsoft.Office.Interop.Excel reference to the task. Please look into the below code. I could not know what is the error in this. Please help. Thanks in advance. Imports Excel = Microsoft.Office.Interop.Excel Imports System.IO Imports System.Data.SqlClient Imports System.Text Imports Microsoft.Office.Interop