I am trying to create a user defined function using Excel VBA. The function is as follows.
Function fetchNSV(storeCode As String) As Long Dim nsv As Double D