Try this, it is not the "EDate" but it does the same thing:
Sub myMonths()
Dim myNMos%, myMsg$
Dim startDate As Date
startDate = InputBox("Enter a starting date [mm/dd/ccyy]:")
myNMos = InputBox("Enter number of months to add," & vbLf & "positive for future date and negative for past date:")
myMsg = "New date: " & DateAdd("m", myNMos, startDate)
MsgBox myMsg
End Sub