I understand what you ment to say, But then what should be the option? Is there any alternate in ms-excel itself? I mean by combining multiple function of excel can we achive the EDATE?
I found that above code will not work with Leap year but still I have some workaround, Not sure about any unforseen result.