I was just wondering how functions are returned.
If you had a function:
Would the function terminate at the 'CheckSafeList = False', or does it run through the entire function, and return the end value?VB Code:
Private Function CheckSafeList(Item As String) CheckSafeList = False For t = 0 To UBound(GetSafeList) If Trim(Item) = Trim(GetSafeList(t)) Then CheckSafeList = True Exit For End If Next End Function
Thanks in advance =)




Reply With Quote