With regard to countering a certain equipment on/off time period, a TimeGE expression within PI Performance Equation were employed. Since lots of those counters should be established while I cannot afford building up PE for each, therefore I turned to VBA to get the results according to requirements.
The questions is, how could I fulfill the TimeGE function in VBA? Are there any similar function? An example showed would be highly appreciated.