I am tracking payments made on a large excel file. In column C, I have the date we received the payment, in column I, I have the date paid. I'd like to calculate how many months between column C (when we rcvd invc) and column I (when invc was paid).
I also want to have the results (number of months) add to a column to the right of my data instead of just in the output messagebox. Can I do this in VBA EXCEL?

I've used the below code but I cant figure out how to change the msgbox result to show on a new column...
Sub DateDiff_Example1()
Dim Date1 As Date
Dim Date2 As Date
Dim Result As Long
Date1 = Range("C2")
Date2 = Range("I2")
Result = DateDiff("M", Date1, Date2)
MsgBox Result
End Sub