Results 1 to 5 of 5

Runtime error 91 Objecr Variable of With block variable not set

Threaded View

  1. #1
    Registered User
    Join Date
    06-12-2006
    Posts
    29

    Runtime error 91 Objecr Variable of With block variable not set

    Hi,

    I'm hoping someone here can help with an irritating problem i am currently having in my macro.

    I am trying to search for a value in a worksheet but i keep getting the 'Object variable or With block variable not set' error on the following line of code:

    ......
    Cells.Find("08:00", SearchDirection:=xlNext).Activate
    .......
    i have no idea why i am getting this error.

    Anyone have any ideas how i can get around this.

    Thanks!
    Last edited by s_ali_hassan; 10-04-2010 at 05:32 AM. Reason: Solved

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