+ Reply to Thread
Results 1 to 3 of 3

Error 91:“Object Variable or With Block Variable not set”.

  1. #1
    Registered User
    Join Date
    04-10-2007
    Posts
    34

    Error 91:“Object Variable or With Block Variable not set”.

    Hi,

    First I'll give some background stuff... I am using a software called Netica VB API, downloaded from www.norsys.com and linked with VB in Excel via the tools/references/Netica 1.0 Object Library (if anyone wants to download and replicate the same set up to get the error). The ChestClinic.dne file can also be downloaded from norsys. I've tried attaching with this post but am unable to for some reason

    With all this set up, I tried to run the following VB macro and obtained the error 91:“Object Variable or With Block Variable not set”.

    Please Login or Register  to view this content.
    To try to solve this error I went onto the Microsoft website and used the information in the following link:

    http://support.microsoft.com/default...b/188919/en-us

    However this does not solve the issue.

    Can anyone help me remove this error??? I have absolutely no idea of OLE objects and their effect on anything...

    Thanks,

    Tracey.

  2. #2
    Registered User
    Join Date
    01-09-2007
    Posts
    59
    Without knowing anything about Netica, at first glance I'd say try this:
    Please Login or Register  to view this content.
    ska

  3. #3
    Registered User
    Join Date
    04-10-2007
    Posts
    34
    Thanks, That managed to get rid of my error 91... now I'll work my way through the others

    I have to admit I received this code from the Norsys group and copied it over without understanding VB completely. You can imagine how difficult it is to understand someone elses code without knowing the language

    Thanks again.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1