Hi there,
I need to write some code where I test various functions to see which matches some input data the best. I have 8 functions which can be linearly combined in one of 8^8 combinations.
You have to use 8 functions each time but the same function can be used 8 times (although this is unlikely to prove interesting).
So I have to generate a VBA function to test each test function against the data.
Clearly I can use a combination of for loops and case statements to generate each functional form as follows:
I then want to paste this function into a VBA function at run time to dynamically each function to be testetd. Is this possible?![]()
Please Login or Register to view this content.
If not is there a different method to generate all these functions without me having to type them all into VBA by have?
Baz
Bookmarks