Hi All,
I need a bit of brainstorming help. I've got a somewhat complex calculation I use Excel to do, and I want to pull it entirely into VB6. Pulling in the actual calculations is the easy part. However, the calculations also involve a rather large set of static data (think, a massive amount of Const data).
To give you an example of the size of this static data, it involves two Excel tabs. The larger tab has columns to IV and rows to 460. If you feel that you need to know more about the calculations, here's a poster that explains part of them. But understanding that has nothing to do with my question.
Yeah, I know about the Array() function, and I'll use that if I have to. The two downsides I immediately see to that are that it's only one dimension and also it returns a variant. Ideally, I'd like a two-dimensional array of Doubles.
I'm also looking for the easiest way to get this data into VB6 code. I don't want it in a file. I just want it hardcoded into a Class module.
Your Thoughts Are Appreciated,
Elroy
EDIT1: I still miss the old DATA and READ commands. I bet few remember those.
I need a bit of brainstorming help. I've got a somewhat complex calculation I use Excel to do, and I want to pull it entirely into VB6. Pulling in the actual calculations is the easy part. However, the calculations also involve a rather large set of static data (think, a massive amount of Const data).
To give you an example of the size of this static data, it involves two Excel tabs. The larger tab has columns to IV and rows to 460. If you feel that you need to know more about the calculations, here's a poster that explains part of them. But understanding that has nothing to do with my question.
Yeah, I know about the Array() function, and I'll use that if I have to. The two downsides I immediately see to that are that it's only one dimension and also it returns a variant. Ideally, I'd like a two-dimensional array of Doubles.
I'm also looking for the easiest way to get this data into VB6 code. I don't want it in a file. I just want it hardcoded into a Class module.
Your Thoughts Are Appreciated,
Elroy
EDIT1: I still miss the old DATA and READ commands. I bet few remember those.