locked
HoTo: pass user defined type array to function/procedure RRS feed

All replies

  • Have you defined ABFactor in the same module as test? If they are in different modules, ABFactor should be defined in a standard module, and as Public instead of Private, otherwise you won't be able to use it in other modules.

    The code as posted by you compiles without error for me. Here is an example - I used a command button on a form to run the test procedure with a sample array:


    Regards, Hans Vogelaar (http://www.eileenslounge.com)

    Tuesday, July 1, 2014 5:23 PM