Calling a FormatCurrency function on multiple textboses
You can loop through the elements using a for loop:

for(var i = 65; i &lt;= 78; i++) {
    var box = document.getElementById("TextBox" + String.fromCharCode(i) + "_TextBox");
    box.value = FormatCurrency(box.value); 
}