I'm creating a sub to call a function, but i kept having error from the below code.
Sub ttimeTEST()
Dim timeA As Date
Dim locnA, locnB As String
locnA = "Singapore"
locnB = "Malaysia"
timeA = TravelTime(locnA, locnB)
Debug.Print (timeA)
End Sub
Private Function TravelTime(ByRef locnA As...