+ Reply to Thread
Results 1 to 4 of 4

debug error

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: debug error

    It is not that difficult to debug.

    On the line


    If Cells(TopRowCtr, TopLastCol - 1) = Cells(SubRowCtr, SubLastCol - 2) And Cells(TopRowCtr, TopLastCol - 2) = Cells(SubRowCtr, SubLastCol - 1) Then
    You are setting up the condition so that when "Cells(row,column)" gets evaluated, the column value is either zero(0) or negative. The lowest value allowed is 1.

    I recommend learning some basic debugging skills.
    Last edited by Dennis7849; 03-20-2012 at 05:09 PM.

+ 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