Advertisement
Advertisement
| 02.05.2008 at 06:30PM PST, ID: 23140173 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: |
Imports System.IO
Imports System.Console
Module Module1
Sub Main()
Dim excelApplication As Object = CreateObject("Excel.Application")
Dim excelWorkbook As Object = excelApplication.Workbooks.Add()
excelWorkbook = excelApplication.ActiveWorkbook
WriteLine("Before Save")
excelWorkbook.SaveAs(filename:="C:\Test", FileFormat:=56)
WriteLine("After Save")
Exit Sub
End Sub
End Module
|