Hi
I hope someone can help me. I've inherited some VBA code and I'm trying to understand it.
I have 3 separate functions as follows:-
Function PDelay#(TrafficC#, Servers%)
Defined as (1.33, ????
Dim Part1#, Part2#, CommonPart#, Counter%
Function SLevel#(Calls#, AHT#, Period%, SLO%, Servers%)
Defined as 8, 300, 1800, 20, ????
Dim Traffic#, PZero#
Function Staffing%(Calls#, AHT#, Period%, SLO%, SLA#, LimOccupancy#)
Defind as 8, 300, 1800, 20, 0.8, 0.85
Dim Traffic#, SrvcLvl#
I've managed to follow the variables listed above with the staffing% function being used as a formula in cells. The others functions are not. I can't seem to find a definition of the servers% variable. There's nothing in the rest of the code defining servers# and I'm completely stuck. If it's easier to publish the whole code I can do so. Does it have to be defined as per the Dim statement? I'm completely lost.
Any help would be appreciated.
Thanks in advanced.
Bookmarks