Is it okay for two different userforms in the same workbook to have textboxes/comboboxes with the same name? e.g. txtName
I have used the same textbox and combobox name for those boxes in different userforms without any issue. I just wanted to know if this might lead to some problem or issue in the future. Or, is it perfectly fine?
Then, there is the question on command buttons. For example, if the two userforms have CLOSE command buttons, what do you do? Do you call both buttons "bttnClose" or call one "bttnUserform1Close" and the second "bttnUserForm2Close"?
Would appreciate your advice as to what is the best way and any acceptable criteria for keeping textboxes/comboboxes with the same name.
Bookmarks