Hi,
I'm opening an excel doc in vb.net with Excel 2002 on my (xp)machine. Doing this I have no problems. This is also my dev machine.
When I run my app on a win2000 machine running Excel 2000 I get an "Object reference not set to an instance of an object. at this line
wb = objExcel.Workbooks.Open(filename)
Here are my declarations:-
Private wb As Excel.Workbook
Private objExcel As New Excel.Application
Any Ideas?
I'm opening an excel doc in vb.net with Excel 2002 on my (xp)machine. Doing this I have no problems. This is also my dev machine.
When I run my app on a win2000 machine running Excel 2000 I get an "Object reference not set to an instance of an object. at this line
wb = objExcel.Workbooks.Open(filename)
Here are my declarations:-
Private wb As Excel.Workbook
Private objExcel As New Excel.Application
Any Ideas?