Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Excel 2000 vs 2002

Excel 2000 vs 2002

Scheduled Pinned Locked Moved Visual Basic
helpcsharpvisual-studiocom
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi. I got a problem getting a program i wrote in VB.net to work with excel 2000. It works well with excel 2002. The error occures within this code: ExcelApp = New Excel.Application() ExcelBook = ExcelApp.Workbooks.Open(ExcelFile, False, True) ExcelSheet = ExcelApp.ActiveSheet This is the error i get: "Object reference not set to an instance of an object. interop.excel at Excel.Workbooks.open(String Filename, object Updatelinks .......all the optional attributes.......) " Odd Magne Vea

    N 1 Reply Last reply
    0
    • L Lost User

      Hi. I got a problem getting a program i wrote in VB.net to work with excel 2000. It works well with excel 2002. The error occures within this code: ExcelApp = New Excel.Application() ExcelBook = ExcelApp.Workbooks.Open(ExcelFile, False, True) ExcelSheet = ExcelApp.ActiveSheet This is the error i get: "Object reference not set to an instance of an object. interop.excel at Excel.Workbooks.open(String Filename, object Updatelinks .......all the optional attributes.......) " Odd Magne Vea

      N Offline
      N Offline
      Niels Penneman
      wrote on last edited by
      #2

      Have you tried to re-import the libraries you are using? Because interop DLLs probably need to be regenerated to work with another file version... greetz ;-) *Niels Penneman*


      Software/Dev Site
      Personal Site


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups