Results 1 to 10 of 10

Application or Object defined error

Threaded View

  1. #7
    Registered User
    Join Date
    02-09-2012
    Location
    Manassas, Virginia, USA
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Application or Object defined error

    Thank you very much Leith Ross,
    Sorry to disturb you again. I changed the below lines in the code:

    Code:
    Set Found = PartRngWorkbook1DRAMSheeta.Find(cs.Value)
                If Found Is Nothing Then GoTo NextCell Else Cell1 = Found.Row
           
     Set  Found = PartRngWorkbook1DRAMSheetb.Find("WS Group Totals:", Range("B", Cell1))
                If Found Is Nothing Then GoTo NextCell Else Cell2 = Found.Row
    Now it is breaking at the line:
    If Found is Nothing then GoTo NextCell Else Cell2=Found.Row

    It is throwing up the error 'Application or Object defined error"...
    Last edited by Leith Ross; 02-20-2012 at 02:38 PM. Reason: Added Code Tags

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