> I get "out of bound" when try GAlarm > >> >> in module Main in sub RemoveAlarm I change "SortAlarms" to "If >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue >> > > > I can't reproduce the problem. Which version you are using? And how did > you induce the error? > Also, where exactly the out of bound error occurred? Jussi