Hey Guys,
The following piece of coding is meant to add up a number of formfields results and put the final result of the sum in another formfield. When i run it at the moment, it just puts the result of the last formfield that it looks at in there.
Any ideas what i need to do??
Many Thanks
Pete
[VBA]Sub MoneyInSums()
iNum = 17
Do While ActiveDocument.Bookmarks.Exists("MIn" & iNum)
ActiveDocument.FormFields("TotalMoneyIn").Result = _
ActiveDocument.FormFields("TotalMoneyIn").Result + ActiveDocument.FormFields("Min" & iNum).Result
iNum = iNum + 5
Loop
End Sub[/VBA]