Please tell us in words what you need the function to do
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email
"pol" wrote in message
...
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