Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Save an Excel Spreadsheet and Then Save a Copy as HTMLContent of Save an Excel Spreadsheet and Then Save a Copy as HTML.vbsMD5 Hash: 3E70AE1E0D9FB2942D66957BF7EB129D |
||
Const xlHTML = 44
Set objExcel = CreateObject("Excel.Application") objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() Set objWorksheet = objWorkbook.Worksheets(1) objExcel.DisplayAlerts = False objExcel.Cells(1, 1).Value = "A" objExcel.Cells(1, 2).Value = "B" objExcel.Cells(1, 3).Value = "C" objExcel.Cells(1, 4).Value = "D" objWorkbook.SaveAs "C:\Scripts\Test.xls" objWorkbook.SaveAs "C:\Scripts\Test.htm", xlHTML | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |