Changing variable assignments

Hi all,
I've written a lot of code that uses the textbox.text, e.g. A1 = textbox16.text. I now need to convert all the variables to button.text instead, so A1=button1.text, is there a quick way o do this?

Thanks in advance

If you already have the buttons in your app, code the first button.text = value, then duplicate it.
Use the pulldowns' in the code to change the button names in each assignment.