bool = HolidayOfListInPeriod(sHolListChar, nDate1, nDate2)
The allowed values for sHolListChar are any of the following: 'a', 'e', 'i', 'o', 'u'.
This function is useful if you only want to know that there is at least one holiday occurrence during a given period of time, but do not care what the details are.
The macro code below checks if there is an e-holiday in the current month and, if so, displays a mention that the * near a holiday means that it's regional.
sResult = ''
nMinDate = FirstDateOfMonth(n_TokenYear,n_TokenMonth)
nMaxDate = LastDateOfMonth(n_TokenYear,n_TokenMonth)
if HolidayOfListInPeriod('e', nMinDate, nMaxDate)
sResult = '* partial or regional holiday'
Topic 125300, last updated on 01-Aug-2020