You wouldn't need the case statement - it builds the defined name base on
the vlaue of combobox5
Again, this only works if the first 3 letters of each selection in the
combobox5 would build the proper defined name.
Assume the choices are in combobox 5 are
AAAAAA
BBB
CCC/DDD
EEEEE
FFF-YYY-ZZZ
then using this method, you would build names like
Branch_Name_AAA
Branch_Name_BBB
Branch_Name_CCC
Branch_Name_EEE
Branch_Name_FFF
This fit the pattern for the four names (two Combobox5 values) that you
showed. I can't guess what the other ones are, but just suggested an
approach which doesn't require a case statement with five different
conditions (if you use consistent defined names).