+ Reply to Thread
Results 1 to 3 of 3

Can't declare FinalRow

  1. #1
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Can't declare FinalRow

    I can't seem to get FinalRow to declare? I am trying to put in a totals row, but it just skips over that bit of code. I am stumped, as I have never had this problem before.

    Please Login or Register  to view this content.
    The first workbook holds the data, The second brings in the data.You will have to take of the comment tags to get the final row peice of code to run. I have also hard coded the formula to see if it would work, that is why there is two pieces of code doing exactly the same thing.
    Attached Files Attached Files
    Last edited by JapanDave; 11-13-2011 at 02:02 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Can't declare FinalRow

    I don't understand your problem. The code debugs without errors and sets finalrow and finalcol each to one since sheet1 is empty.
    Ben Van Johnson

  3. #3
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Can't declare FinalRow

    Quote Originally Posted by protonLeah View Post
    I don't understand your problem. The code debugs without errors and sets finalrow and finalcol each to one since sheet1 is empty.
    Ahh, I have been working on this code for too long. Thanks you have pointed out where I was going wrong, I have the finalRow/Finalcol is the wrong place in the code. Now it is working!

    Cheers.

+ 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