Hello,
I have a small code that's going into an endless loop... help to resolve will be highly appreciated .. screen shot of excel attached.
I have a small code that's going into an endless loop... help to resolve will be highly appreciated .. screen shot of excel attached.
VBA Code:
Sub Fill_Xirr()
ActiveSheet.Range("IrrTab_Beg").Offset(1, 1).Select
Do While Not IsEmpty(ActiveCell) _
Or Selection.Value <> Range("myTicker").Value
Selection.Offset(1, 0).Select
Loop
F = Range("YrsInvested").Value
Selection.Offset(0, F).Value = Range("X_IRR").Value
End Sub