+ Reply to Thread
Results 1 to 2 of 2

Array showing "nothing" but i know something is in it

  1. #1
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,677

    Array showing "nothing" but i know something is in it

    Hi, I am enclosing an excel file.

    I have 3 arrays.
    One array reads in col 1 and col2 from sheet "Calc_sheet_dont_delete"
    another array reads in col3 and col4 from sheet "Calc_sheet_dont_delete"

    Another array compares col1 with col3. If value in col1 is not in col3 then store result in this array......called "active_not_in_combined".

    Problem is that when i try to show to the screen the contents of "active_no_in_combined" it has the right "number of entries in array" but all values are "blank".............but this should not be. In another part of the program where i assign values to this array.....the assignment appears to be working.

    Not sure whats going on.........very very very confused.

    just to be clear.........i dont know why when i try to show to the screen the contents of the array array "active_not_in_combined" ........contents show up as "blank" ie....empty....not sure why?
    Attached Files Attached Files
    Last edited by welchs101; 08-23-2011 at 01:36 PM.

  2. #2
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,677

    Re: Array showing "nothing" but i know something is in it

    ok...figured it out..........

    I had this in my code

    Please Login or Register  to view this content.


    I should have had the following


    Please Login or Register  to view this content.


    without the preserve array contents seem to get cleared.......

+ 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