I have the following formula in a cell: =EDATE(B5,ROUNDUP((((YEAR(C7)-YEAR(B5))*12+(MONTH(C7)-MONTH(B5)+1))/2),0))))
I want to convert this to VBA but I can't figure out exactly how to write this. Any assistance that can be provided is appreciated. I'm using MS Excel 2010