A macro called the function GetNthHolSetId with an argument outside of the allowed range of 1-127.
There are usually 2 cases of this message occurring:
•Parameter = 0: you forgot to initialize the parameter.
•Parameter > 127: you forgot to put an exit condition in your for or while loop.
For an example of code that loops through all the holidays sets of a holidays list, see iterating through all the holidays sets of a holidays list.
Topic 108737, last updated on 01-Aug-2020