I have a do loop that makes an adjustment from one cell to another cell.
This is to avoid a circular refererence. Sometimes it will not stop looping because the two cells are off by one and then when one goes up the other goes down, etc. Is there a way to make it loop until cell C14 is plus 1 or minus 1 of E14. In other words, within one whole number.
Code:
Sub Taxes_Adjust()
Do
Range("E14").Select
Selection.Copy
Range("C14").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Loop Until Range("C14").Value = Range("E14").Value
End Sub