Hello Lee,
There's only macro functions to get the object ID, as an example see:
Function to get Object ID?
What you could do is load your calculations on a external file (text, excel and so on) and then load them as variables so that you can calculate the boxes differently without manually checking each box.
Felipe.