Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel 2003 Range problem with .Net Interop
Hi,
I've written a function to get values from an Excel sheet to VB.Net via .Net Interop: .... Dim sheet As Excel.Worksheet = xlWorkbook.Worksheets("Liste") Dim folder As String = sheet.Range("M2").Value This worked great in Excel XP, but in Excel 2003 I'll get an error: "object reference not set to an instance of an object". Obviusly the problem is the range object, because I can get values from the sheet object. Has anybody an idea what to do? Thanks a lot! Simon |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Immediate Fail: Launch Excel via Interop | Excel Discussion (Misc queries) | |||
Excel 2003 COM interop problems | Excel Programming | |||
Excel Interop ActiveXSEcurity exception | Excel Programming | |||
Problem with "For each" loop using .NET Interop and Excel | Excel Programming | |||
Excel Workbook opened twice with dotnet interop | Excel Programming |