R
robert burger
Good morning,
I'm new to VBA so bear with me.
I declare a constant:
Const tier1 = 0.01
which is used in a function:
Case 1 To 499999.99
fee = Assets * tier1
the problem is that this constant is not fixed but needs to be variable.
Is it possible to have the constant declared in a sheet1 and then be
subsequently used in the function in the module?
In other words, can i enter a number in a cell in the sheet and have
that number be used in a function?
Thanks,
RTB
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I'm new to VBA so bear with me.
I declare a constant:
Const tier1 = 0.01
which is used in a function:
Case 1 To 499999.99
fee = Assets * tier1
the problem is that this constant is not fixed but needs to be variable.
Is it possible to have the constant declared in a sheet1 and then be
subsequently used in the function in the module?
In other words, can i enter a number in a cell in the sheet and have
that number be used in a function?
Thanks,
RTB
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!