Maneesh Massey
Member
Hi,
Yeah, I know the title doesn't really make sense, but I couldn't find a better way to explain what I want to do.
I have a Combo box and a Text box on a UserForm. What I need to do is to have a user select a String value from the Combo box, and have it entered into the Text box, BUT not all of the text, just 3 letters from the text.
Eg. The Combo box has names of cities like Agra, Allahabad, Meerut, Mahoba etc. and I need the Text box to show only AGR for Agra, ALD for Allahabad, MEE for Meerut, MAH for Mahoba etc. In other words, I want to show only abbreviations of the cities instead of their full names.
Can anyone share how to do this ? Greatly appreciate any answers. I am using Excel 2013 on Windows 7.
Regards,
Maneesh
Yeah, I know the title doesn't really make sense, but I couldn't find a better way to explain what I want to do.
I have a Combo box and a Text box on a UserForm. What I need to do is to have a user select a String value from the Combo box, and have it entered into the Text box, BUT not all of the text, just 3 letters from the text.
Eg. The Combo box has names of cities like Agra, Allahabad, Meerut, Mahoba etc. and I need the Text box to show only AGR for Agra, ALD for Allahabad, MEE for Meerut, MAH for Mahoba etc. In other words, I want to show only abbreviations of the cities instead of their full names.
Can anyone share how to do this ? Greatly appreciate any answers. I am using Excel 2013 on Windows 7.
Regards,
Maneesh