AutoComplete From a List

kbdavis11

New Member
Joined
Dec 8, 2014
Messages
30
I have a list on a separate sheet that I am wanting one particular cell to autocomplete from. I have searched for quite some time on a resolution to the issue.


I have even placed the list above the cells I am working with, and then hiding them, but after I am finished with my current task I hit CTRL-A to copy all and paste my work into another program. The problem is that by doing CTRL-A it also copies the hidden rows above it (which in my opinion defeats the purpose of being hidden).

I have used data validation as well but going through that list can be time consuming and I am trying to make this as efficient as possible. There is a 2 letter code that is unique, followed by a "-" and approx. 20 letter "phrase" afterwords. I just want to find a workaround that will allow me to type in the two letter code that will autocomplete the rest of the phrase, with me being able to CTRL-A and not selecting any of the autocomplete list.

I am willing to try VBA if I can get the correct direction for that, but VBA is not something I am 100% familiar with (although I have used in the past with success).


Any thoughts or suggestions?

- - - - - - - - - - - - - - - - - - -

EDIT #1: I have also attempted to unlock the cells I just want to CTRL-A and then protecting the sheet with the "select locked cells" unchecked, but then CTRL-A doesn't do anything at all :banghead:
 
Last edited:

Acuity Training

New Member
Joined
Sep 1, 2015
Messages
11
Have you thought about using Autocorrect?
Go to File > Options > Proofing then click AutoCorrect Options button
In this screen you can insert the two letter string you would type in the "Replace" box and put the full text you'd like Excel to insert in the "With" box.
This way whenever you type that two letter string and press enter excel will input the full string.
Obviously this is potentially flawed if the two letter string is something you might use elsewhere, I'm not sure what they look like?
 

kbdavis11

New Member
Joined
Dec 8, 2014
Messages
30
Have you thought about using Autocorrect?
Go to File > Options > Proofing then click AutoCorrect Options button
In this screen you can insert the two letter string you would type in the "Replace" box and put the full text you'd like Excel to insert in the "With" box.
This way whenever you type that two letter string and press enter excel will input the full string.
Obviously this is potentially flawed if the two letter string is something you might use elsewhere, I'm not sure what they look like?
I have considered that but I would just hate for that to take effect on all the office suite programs. If it would be possible to only implement it for my specific spreadsheet I use then I would be all for it.

Thanks for the suggestion though.
 

Forum statistics

Threads
1,082,316
Messages
5,364,494
Members
400,802
Latest member
RichBRich

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top