steve_4477
Registered User.
- Local time
- Today, 06:01
- Joined
- Jan 10, 2011
- Messages
- 23
When all else fails there is always Access World....
So, I have a ListBox that returns a different number of instances depending on which "account" I am working on. Example:
Tenor Spread COF
5 1.58% 2.15%
7 2.81% 2.74%
10 2.57% 3.33%
It could be anywhere from 1 to 15 lines. I need a function that sets columns 1 and 2 for each instance as a variable i.e.
x1 = 5, 1.58%
x2 = 7, 2.81%
x3 = 10, 2.57%
and so on....
I have the code to set each variable down (Me.PricingList.Column(0, 0) & " yrs, " & Format(Me.PricingList.Column(1, 0), "#.00%")
Is there a way I can use a dynamic array to specify how many different variables I will need based on the list box? Ulimately I will be using these variables as text in the body of an email generated via vba.
Does this make sense and any ideas?
So, I have a ListBox that returns a different number of instances depending on which "account" I am working on. Example:
Tenor Spread COF
5 1.58% 2.15%
7 2.81% 2.74%
10 2.57% 3.33%
It could be anywhere from 1 to 15 lines. I need a function that sets columns 1 and 2 for each instance as a variable i.e.
x1 = 5, 1.58%
x2 = 7, 2.81%
x3 = 10, 2.57%
and so on....
I have the code to set each variable down (Me.PricingList.Column(0, 0) & " yrs, " & Format(Me.PricingList.Column(1, 0), "#.00%")
Is there a way I can use a dynamic array to specify how many different variables I will need based on the list box? Ulimately I will be using these variables as text in the body of an email generated via vba.
Does this make sense and any ideas?