Hi Pamela,
A and B are variables names in my example. It was not a very good example. Sorry about that. The actual names are O_att1, O_att2, O_att3 and so on are variable names. The ControlSource actually has ControlSource=O_att1. Then when I press the command button I want it to change to ControlSource=O_att2 so that variable appears in the textbox instead of the value that's in variable name O_att1. Then I have the second command button to switch it back the other way so O_att1 variable value appears in the textbox. Confused? I am. Thanks for trying to help me.
Steve
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site:
www.stephenkramer.comWould you believe Far Side Lite?
More than 270 original cartoons.