Closed Thread
Results 1 to 3 of 3

HELP, trying to debug this code...

  1. #1
    Forum Contributor
    Join Date
    07-10-2008
    Location
    UK
    Posts
    220

    HELP, trying to debug this code...

    HI everyone.

    The folowing code is bugging out on me 'subscript out of range: cant figure out why.

    Can someone please tell me the possible reasons / solutions??

    YOU DONT NEED TO SEE MOST OF THIS CODE...I WILL HIGHLIGHT WHERE IT BUGS

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    07-10-2008
    Location
    UK
    Posts
    220

    Re: HELP, trying to debug this code...

    ok it didnt highlight it...

    the bit that bugs is

    For m = 14 To 97
    If a(i, m) <> "" Then
    Do
    THIS LINE b(j, 3) = a(1, m): THIS LINE
    n = n + 1:
    j = j + 1
    Loop Until n = a(i, m):

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: HELP, trying to debug this code...

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

Closed 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