In excel I would like to use the DateAdd function to add a number of days to a date which are contained in cells using the following function
Function DatesAdd(iinterval As String, nnumber As Integer, ddate As Date) As Integer
DatesAdd = DateAdd(iinterval, nnumber, ddate)
In the formula bar - how would I call this function ?
I have tried
but get the #Value! error