How I can create a function with return argument
I have a macro program numoffday
Sub offdays()
li_sunday = .Cells(i, 41).Value
int offDays = numoffday(li_sunday)
End Sub
Please let me know how I can create a function numoffday() with integer
return value in Excel macros
|