Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Declaring variables | Excel Discussion (Misc queries) | |||
Declaring arrays | Excel Programming | |||
Declaring a DLL | Excel Programming | |||
DEclaring variables | Excel Programming | |||
DEclaring variables | Excel Programming |