brandonH, thank you for the reply. So in order to make the variables global, I just need to declare them outside of a funtion, correct? what I need it to do is cycle through all the checkboxes, names Chkbx[$k] and determine which are checked, then I need the value $totsym for each checked checkbox to be put into an array that ...