Results 1 to 13 of 13

Find Method error: -Object variable with block set variable not set

Threaded View

  1. #1
    Registered User
    Join Date
    09-17-2009
    Location
    Russia, St. Petersburgh
    MS-Off Ver
    Excel 2003/2007
    Posts
    62

    Find Method error: -Object variable with block set variable not set

    Hi all again
    I have a code exported from other wb which worked normally.
    When it was imported into new wb Find method gives an error RunTime 91 Object variable with block set variable not set

         Dim i As Long, TDateCNum As Long
         TDateCNum = Cells.Find(What:=MyDate, LookIn:=xlValues).Column
    I just want to find column number of today's date and us it in Cells()
    I was able to do it on old wb but not here

    Thanks in advance...
    Last edited by bambino_32; 06-01-2010 at 04:03 PM. 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