View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Rech Jim Rech is offline
external usenet poster
 
Posts: 2,718
Default Workbooks.Open(filename) : Returning err: Object reference not... (in VB.NET)

Knowing nothing about VB.NET doesn't stop me. Does this works:

exl = New Excel.Application()
wrkBK = exl.Workbooks.Open("somefile.xls")

--
Jim Rech
Excel MVP