Save property to be edited in a variable?
I'm writing a program where the property that will be changed will vary but all the other code will not. I'd like to write a subroutine, but how do I pass a subroutine what property of the object to edit. Is this possible to do without assigning a string "FontBold" or something and then doing a case statement in the subroutine to determine what property to modify? I'm going to be working with around 30 properties so I don't want a huge case statement. Any help would be greatly appreciated. Thanks in advance :)