I am looking to do something like the following:
Public Function myFunc(vArg1 as string, vArg2 as string, vArg3 as ["A","B","C"])
End Function
Where the user gets a drop down list for vArg3 when they call it. This would be similar to the following:
Public Sub Main()
Call StrComp("A", "B", vbTextCompare)
End Sub
Where vbTextCompare can be chosen from a pre-defined list or arguments for the function.
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…