Hi
I'm using MS Visual Basic 2005 Express Edition and need to open an Excel File. I'm using the following code
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim xlTemp As Excel.Application
xlTemp = New Excel.Application
xlTemp.Workbooks.Open("C:\Documents and Settings\TAP\Desktop\Post\Test.xls")
End Sub
End Class
I get no errors but nothing happens when I click the button.
Thanks