I've just added an optional parameter to the "Highlight" function:
Given the function coded:
The compiler claims a syntax error with:Code:Public Function Highlight(strLBL As String, Optional Init As Boolean = False)
Where "sortcolumn" is a string variable.Code:Highlight(sortcolumn,True)
What am I missing here? (no pun intended)