Hi Folks!
Not much of a programmer.
I need some help on a worksheet_change event macro.
I want to type in the first few letters of a NFL city name and when I hit enter the macro will replace what I've typed with the full city name.
For example, if I type the letters pit then the macro will replace that with Pittsburgh. If I type dal then the macro will replace that with Dallas. If I type ne then the macro will replace that with New England.
I am aware that this could be done using AutoCorrect settings but that is a global change (even across Office applications) and I only want this to be a local change in a specific file on a specific sheet in a specific range.
I even tried this using drop down lists but that is a very tedious task and I think what I want to try with the macro will be much faster.
I need to do this for all 32 NFL cities but if you show me how to do the first few I should be able to add the others.
The cell range will be A4:C305
Here's the first few names...
ari = Arizona
atl = Atlanta
bal = Baltimore
buf = Buffalo
Appreciate any help you can offer.
Bookmarks