Is there a shorter way to get which checkbox checked in 150 checkbox other than;

if checkbox1.checked = true then .....

if checkbox2.checked = true then .....

if checkbox150.checked = true then .....


Thanks in advance.