Convert Excel to HTML VB.Net
Start Visual Studio.
Click OK.
Now write following code
Public Class ThisAddIn
Private Sub ThisAddIn_Startup() Handles Me.Startup
Application.Workbooks.Open("c:/vin.xlsx")
End Sub
Private Sub ThisAddIn_Shutdown() Handles Me.Shutdown
Application.ActiveWorkbook.SaveAs("c:/vin.htm", Excel.XlFileFormat.xlHtml)
End Sub
End Class
This will convert .xlsx file to html file. Choose path appropriately.
By:
- Vinod Kotiya
Comments