Results 1 to 2 of 2

Thread: Immediate Problem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Adelaide - Australia
    Posts
    150

    Post

    Problem: Object variable or With block variable not set

    I am getting the above error in the immediate window when I compile or run my program. I can not find any error that may be causing this. Can anyone give me any help about where it maybe comming from.

  2. #2
    Fanatic Member r0ach's Avatar
    Join Date
    Dec 1999
    Location
    South Africa
    Posts
    722
    You might be trying to use an object without instantiating it first.

    Code:
        Dim objMyObject As CMyClass
        Set objMyObject = New CMyClass '<-- This part might be missing

    r0ach™
    Don't forget to rate the post

Posting Permissions

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



Click Here to Expand Forum to Full Width