If you have 100 of them, you're doing something wrong cuz. Long story short, unless you want to get into some nasty meta-programming (you probably don't), you have to access them just the way you think you would. If you have code that
works (it has to accomplish it's task already), you might want to bring your
entire code to Code Review SE. I think you have an XY problem here. —
RubberDuck 33 secs ago